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