From 277d16831d25cea9aac5e625dd173c78b8ae936c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 15 Jul 2023 11:55:56 +1000 Subject: [PATCH] autotest: tweak tweak timeout on proximity test half this allowed time was going on actually getthing the EKF happy --- Tools/autotest/arducopter.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 892af5bf69..cc6323f570 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -6915,9 +6915,11 @@ class AutoTestCopter(AutoTest): }) self.set_analog_rangefinder_parameters() self.reboot_sitl() - tstart = self.get_sim_time() + self.change_mode('LOITER') self.wait_ekf_happy() + + tstart = self.get_sim_time() while True: if self.armed(): break @@ -6934,6 +6936,7 @@ class AutoTestCopter(AutoTest): 255 # covariance ) self.send_mavlink_arm_command() + self.takeoff(15, mode='LOITER') self.progress("Poking vehicle; should avoid")