autotest: fixed rover mission completion

This commit is contained in:
Andrew Tridgell 2013-03-29 21:19:04 +11:00
parent 4a02af088b
commit 5f8c8e87a8
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ def drive_mission(mavproxy, mav, filename):
wait_mode(mav, 'AUTO')
if not wait_waypoint(mav, 1, 4, max_dist=5):
return False
wait_mode(mav, 'MANUAL')
wait_mode(mav, 'HOLD')
print("Mission OK")
return True