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.
This commit is contained in:
Paul Riseborough 2021-07-15 11:00:26 +10:00 committed by Randy Mackay
parent 5a3e0e7f17
commit 8db073a8d6
1 changed files with 1 additions and 1 deletions

View File

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