autotest: zero throttle when force-rebooting

otherwise we may end up trying to calibrate ESCs...
This commit is contained in:
Peter Barker 2023-10-19 19:13:08 +11:00 committed by Peter Barker
parent 33bae74d07
commit 22360b43a8
1 changed files with 1 additions and 0 deletions

View File

@ -8894,6 +8894,7 @@ Also, ignores heartbeats not from our target system'''
if ex is None:
ex = ArmedAtEndOfTestException("Still armed at end of test")
self.progress("Armed at end of test; force-rebooting SITL")
self.set_rc_default() # otherwise we might start calibrating ESCs...
try:
self.disarm_vehicle(force=True)
except AutoTestTimeoutException: