From 8360a3c247892c0ece95a3580fcb5b96fa6c95c1 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 16 Aug 2022 16:53:05 +1000 Subject: [PATCH] autotest: force-disarm quadplane after ICEngine test ICE provides forward thrust, which can make us think we're flying --- Tools/autotest/quadplane.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/quadplane.py b/Tools/autotest/quadplane.py index ba216be702..555d8cf222 100644 --- a/Tools/autotest/quadplane.py +++ b/Tools/autotest/quadplane.py @@ -865,7 +865,9 @@ class AutoTestQuadPlane(AutoTest): self.progress("Setting engine-start RC switch to LOW") self.set_rc(rc_engine_start_chan, 1000) self.wait_rpm(1, 0, 0, minimum_duration=1) - self.disarm_vehicle() + # ICE provides forward thrust, which can make us think we're flying: + self.disarm_vehicle(force=True) + self.reboot_sitl() def ICEngineMission(self): rc_engine_start_chan = 11