From 22360b43a86f634bcaf1cd4b1ec23c9beb7cb69b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 19 Oct 2023 19:13:08 +1100 Subject: [PATCH] autotest: zero throttle when force-rebooting otherwise we may end up trying to calibrate ESCs... --- Tools/autotest/vehicle_test_suite.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/autotest/vehicle_test_suite.py b/Tools/autotest/vehicle_test_suite.py index ae3e7003a6..3f2e56322f 100644 --- a/Tools/autotest/vehicle_test_suite.py +++ b/Tools/autotest/vehicle_test_suite.py @@ -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: