From e2a350f12ea289c50074ebb3dfb62ca4f12902c9 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 24 Mar 2021 20:55:03 +1100 Subject: [PATCH] autotest: reduce race condition in fly_square mission We end up where we started, so when we start to play the mission back we might immediately be at the first waypoint. That's a problem as we may never see the NAV_CONTROLLER_OUTPUT mention waypoint 1 and thus we fail the test --- Tools/autotest/arducopter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index aa96275919..1af6136b87 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -323,7 +323,7 @@ class AutoTestCopter(AutoTest): # fly a square in alt_hold mode def fly_square(self, side=50, timeout=300): - self.takeoff(10, mode="ALT_HOLD") + self.takeoff(20, mode="ALT_HOLD") """Fly a square, flying N then E .""" tstart = self.get_sim_time()