autotest: (Sub) only execute one circle instead of four

This commit is contained in:
Jacob Walser 2017-04-07 01:02:13 -04:00
parent dbfdfa2261
commit b1906d6c04
2 changed files with 3 additions and 4 deletions

View File

@ -81,7 +81,7 @@ def dive_mission(mavproxy, mav, filename):
mavproxy.send('mode auto\n')
wait_mode(mav, 'AUTO')
if not wait_waypoint(mav, 1, 6, max_dist=5):
if not wait_waypoint(mav, 1, 5, max_dist=5):
return False
mavproxy.send('disarm\n');

View File

@ -3,6 +3,5 @@ QGC WPL 110
1 0 3 16 0.000000 0.000000 0.000000 0.000000 33.809780 -118.393982 -50.000000 1
2 0 3 16 0.000000 0.000000 0.000000 0.000000 33.809780 -118.394432 -50.000000 1
3 0 3 16 0.000000 0.000000 0.000000 0.000000 33.810310 -118.394432 -50.000000 1
4 0 3 18 2.000000 0.000000 50.000000 1.000000 33.810310 -118.395020 -25.000000 1
5 0 3 18 2.000000 0.000000 10.000000 1.000000 33.810314 -118.395020 -50.000000 1
6 0 3 21 25.000000 0.000000 0.000000 0.000000 33.811207 -118.393036 -25.000000 1
4 0 3 18 1.000000 0.000000 50.000000 1.000000 33.810310 -118.395020 -25.000000 1
5 0 3 21 25.000000 0.000000 0.000000 0.000000 33.811207 -118.393036 -25.000000 1