mirror of https://github.com/ArduPilot/ardupilot
autotest: autotest autotune without filtering updates
This commit is contained in:
parent
8f644f473c
commit
a47009e103
|
@ -3913,6 +3913,18 @@ class AutoTestPlane(AutoTest):
|
|||
self.change_mode('FBWA')
|
||||
self.fly_home_land_and_disarm(timeout=tdelta+240)
|
||||
|
||||
def AutotuneFiltering(self):
|
||||
'''Test AutoTune mode with filter updates disabled'''
|
||||
self.set_parameters({
|
||||
"AUTOTUNE_OPTIONS": 3,
|
||||
# some filtering is required for autotune to complete
|
||||
"RLL_RATE_FLTD": 10,
|
||||
"PTCH_RATE_FLTD": 10,
|
||||
"RLL_RATE_FLTT": 20,
|
||||
"PTCH_RATE_FLTT": 20,
|
||||
})
|
||||
self.AUTOTUNE()
|
||||
|
||||
def LandingDrift(self):
|
||||
'''Circuit with baro drift'''
|
||||
self.customise_SITL_commandline([], wipe=True)
|
||||
|
@ -4731,6 +4743,7 @@ class AutoTestPlane(AutoTest):
|
|||
self.DCMFallback,
|
||||
self.MAVFTP,
|
||||
self.AUTOTUNE,
|
||||
self.AutotuneFiltering,
|
||||
self.MegaSquirt,
|
||||
self.MSP_DJI,
|
||||
self.SpeedToFly,
|
||||
|
|
Loading…
Reference in New Issue