From db64d85a183fc1b7853ca9d2007ebe1ac484d45b Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Wed, 14 Sep 2022 17:17:51 +1000 Subject: [PATCH] Tools/autotest: rework arming and takeoff mode change order Co-authored-by: Peter Barker --- Tools/autotest/arduplane.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index 9b4e55eeb7..0aff2ed99c 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -1732,8 +1732,8 @@ class AutoTestPlane(AutoTest): "SIM_WIND_DIR": 0, "ARSPD_WIND_MAX":15, }) - self.wait_ready_to_arm() self.change_mode("TAKEOFF") + self.wait_ready_to_arm() self.arm_vehicle() self.delay_sim_time(60) # simulate the effect of a blocked pitot tube