autotest: use implicit context for AutoTuneSwitch

the wrapper adds nothing
This commit is contained in:
Peter Barker 2022-11-15 11:57:21 +11:00 committed by Peter Barker
parent 1566000da5
commit d0ce2ca8f2
1 changed files with 0 additions and 16 deletions

View File

@ -2329,22 +2329,6 @@ class AutoTestCopter(AutoTest):
# complete by "customising" the commandline here:
self.customise_SITL_commandline([])
self.context_push()
ex = None
try:
self.fly_autotune_switch_body()
except Exception as e:
self.print_exception_caught(e)
ex = e
self.context_pop()
if ex is not None:
raise ex
def fly_autotune_switch_body(self):
self.set_parameters({
"RC8_OPTION": 17,
"ATC_RAT_RLL_FLTT": 20,