mirror of https://github.com/ArduPilot/ardupilot
autotest: zero throttle when force-rebooting
otherwise we may end up trying to calibrate ESCs...
This commit is contained in:
parent
33bae74d07
commit
22360b43a8
|
@ -8894,6 +8894,7 @@ Also, ignores heartbeats not from our target system'''
|
||||||
if ex is None:
|
if ex is None:
|
||||||
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.set_rc_default() # otherwise we might start calibrating ESCs...
|
||||||
try:
|
try:
|
||||||
self.disarm_vehicle(force=True)
|
self.disarm_vehicle(force=True)
|
||||||
except AutoTestTimeoutException:
|
except AutoTestTimeoutException:
|
||||||
|
|
Loading…
Reference in New Issue