Browse Source

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.
zr-v5.1
Paul Riseborough 4 years ago committed by Randy Mackay
parent
commit
8db073a8d6
  1. 2
      Tools/autotest/arduplane.py

2
Tools/autotest/arduplane.py

@ -1591,7 +1591,7 @@ class AutoTestPlane(AutoTest): @@ -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):

Loading…
Cancel
Save