@@ -3128,18 +3128,9 @@ def LoggerDocumentation_greylist(self):
3128
3128
"TCLR", # tempcal
3129
3129
"TEMP", # temperature sensor library
3130
3130
3131
- "ARHS", # autorotation
3132
- "AROT", # autorotation
3133
- "ARSC", # autorotation
3134
- "ATDH", # heli autotune
3135
- "ATNH", # heli autotune
3136
- "ATSH", # heli autotune
3137
3131
"CC", # AC_CustomControl
3138
3132
"FWDT", # quadplane
3139
- "GMB1", # sologimbal
3140
- "GMB2", # sologimbal
3141
3133
"QBRK", # quadplane
3142
- "SURF", # surface-tracking
3143
3134
])
3144
3135
3145
3136
def LoggerDocumentation_whitelist(self):
@@ -3167,6 +3158,10 @@ def LoggerDocumentation_whitelist(self):
3167
3158
# documentation (eg. @Path:
3168
3159
# ../libraries/AP_LandingGear/AP_LandingGear.cpp).
3169
3160
vinfo_key = self.vehicleinfo_key()
3161
+ if vinfo_key != 'ArduPlane' and vinfo_key != 'ArduCopter':
3162
+ ret.update([
3163
+ "ATUN", # Plane and Copter have ATUN messages
3164
+ ])
3170
3165
if vinfo_key != 'ArduPlane':
3171
3166
ret.update([
3172
3167
"TECS", # only Plane has TECS
@@ -3176,6 +3171,19 @@ def LoggerDocumentation_whitelist(self):
3176
3171
"SORC", # soaring is pure magic
3177
3172
"QBRK", # quadplane
3178
3173
"FWDT", # quadplane
3174
+ "VAR", # variometer only applicable on Plane
3175
+ ])
3176
+ if vinfo_key != 'ArduCopter':
3177
+ ret.update([
3178
+ "ARHS", # autorotation
3179
+ "AROT", # autorotation
3180
+ "ARSC", # autorotation
3181
+ "ATDH", # heli autotune
3182
+ "ATNH", # heli autotune
3183
+ "ATSH", # heli autotune
3184
+ "GMB1", # sologimbal
3185
+ "GMB2", # sologimbal
3186
+ "SURF", # surface-tracking
3179
3187
])
3180
3188
if vinfo_key == 'ArduCopter':
3181
3189
ret.update([
0 commit comments