mirror of https://github.com/ArduPilot/ardupilot
Tools: autotest: allow tracker to be armed between tests
This commit is contained in:
parent
4c40640238
commit
b97b41a6e8
|
@ -2055,7 +2055,7 @@ class AutoTest(ABC):
|
||||||
passed = False
|
passed = False
|
||||||
|
|
||||||
self.wait_heartbeat()
|
self.wait_heartbeat()
|
||||||
if self.armed():
|
if self.armed() and not self.is_tracker():
|
||||||
ex = ArmedAtEndOfTestException("Still armed at end of test")
|
ex = ArmedAtEndOfTestException("Still armed at end of test")
|
||||||
self.progress("Armed at end of test; force-rebooting SITL")
|
self.progress("Armed at end of test; force-rebooting SITL")
|
||||||
self.disarm_vehicle(force=True)
|
self.disarm_vehicle(force=True)
|
||||||
|
|
Loading…
Reference in New Issue