autotest: wipe SITL state after temperature cal test

ArduPilot internals are fiddling state that the autotest suite is
unaware of, so wipe the eeprom after the test
This commit is contained in:
Peter Barker 2021-06-09 12:07:51 +10:00 committed by Peter Barker
parent 79de738266
commit fd792bebf8
1 changed files with 5 additions and 0 deletions

View File

@ -2406,6 +2406,11 @@ class AutoTestPlane(AutoTest):
if not bad_value:
raise NotAchievedException("uncompensated IMUs did not vary enough")
# the above tests change the internal persistent state of the
# vehicle in ways that autotest doesn't track (magically set
# parameters). So wipe the vehicle's eeprom:
self.reset_SITL_commandline()
def ekf_lane_switch(self):
self.context_push()