mirror of https://github.com/ArduPilot/ardupilot
set first WP in wait_waypoint to 0
This commit is contained in:
parent
a1da5fb9e5
commit
d226b875c8
|
@ -176,7 +176,7 @@ def fly_mission(mavproxy, mav, height_accuracy=-1, target_altitude=None):
|
|||
wait_mode(mav, 'AUTO')
|
||||
|
||||
#wait_altitude(mav, 30, 40)
|
||||
ret = wait_waypoint(mav, 1, num_wp, timeout=90)
|
||||
ret = wait_waypoint(mav, 0, num_wp, timeout=90)
|
||||
|
||||
print("MISSION COMPLETE: passed=%s" % ret)
|
||||
|
||||
|
|
Loading…
Reference in New Issue