set first WP in wait_waypoint to 0

This commit is contained in:
Jason Short 2011-11-13 13:42:49 -08:00
parent a1da5fb9e5
commit d226b875c8
1 changed files with 1 additions and 1 deletions

View File

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