autotest: clear mission ourselves rather than with MAVProxy at end of test

This commit is contained in:
Peter Barker 2021-01-22 08:41:49 +11:00 committed by Peter Barker
parent 2ee052b36e
commit 8c7d63433c
1 changed files with 2 additions and 1 deletions

View File

@ -5026,7 +5026,8 @@ Also, ignores heartbeats not from our target system'''
if reset_needed:
self.reset_SITL_commandline()
self.clear_mission_using_mavproxy()
if not self.is_tracker(): # FIXME - more to the point, fix Tracker's mission handling
self.clear_mission(mavutil.mavlink.MAV_MISSION_TYPE_ALL)
tee.close()