From e13e888c315b3335841a8a265378543db71db8f8 Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Thu, 15 Jul 2021 11:00:26 +1000 Subject: [PATCH] Tools: Fix AIRSPEED_AUTOCAL test failure The mission plan for this test causes a lot of overshoot when turning onto final approach with the result that there is still some lateral offset when passing the landing waypoint that is not a measure of estimator accuracy. --- 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 2ec182e599..6c99c6644d 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -1591,7 +1591,7 @@ class AutoTestPlane(AutoTest): m = self.mav.recv_match(type='AIRSPEED_AUTOCAL', blocking=True, timeout=5) - self.wait_waypoint(7, num_wp-1, timeout=500) + self.wait_waypoint(7, num_wp-1, max_dist=5, timeout=500) self.wait_disarmed(timeout=120) def deadreckoning_main(self, disable_airspeed_sensor=False):