mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
autotest: force-disarm copter before reboot in GCS failsafe tests
This commit is contained in:
parent
53326a08ed
commit
2d62fb99b1
@ -703,6 +703,7 @@ class AutoTestCopter(AutoTest):
|
|||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
self.setGCSfailsafe(0)
|
self.setGCSfailsafe(0)
|
||||||
self.set_parameter('FS_OPTIONS', 0)
|
self.set_parameter('FS_OPTIONS', 0)
|
||||||
|
self.disarm_vehicle(force=True)
|
||||||
self.reboot_sitl()
|
self.reboot_sitl()
|
||||||
raise ex
|
raise ex
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user