Tools/autotest: rework arming and takeoff mode change order

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
This commit is contained in:
Paul Riseborough 2022-09-14 17:17:51 +10:00 committed by Randy Mackay
parent 3d4ea4ec37
commit db64d85a18

View File

@ -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