longer timeout

This commit is contained in:
Jason Short 2011-11-19 14:59:48 -08:00
parent b6adfdb62f
commit 9e04d4c45b

View File

@ -175,7 +175,7 @@ def fly_mission(mavproxy, mav, height_accuracy=-1, target_altitude=None):
mavproxy.send('switch 4\n') # auto mode mavproxy.send('switch 4\n') # auto mode
wait_mode(mav, 'AUTO') wait_mode(mav, 'AUTO')
#wait_altitude(mav, 30, 40) #wait_altitude(mav, 30, 40)
ret = wait_waypoint(mav, 0, num_wp, timeout=90) ret = wait_waypoint(mav, 0, num_wp, timeout=500)
print("test: MISSION COMPLETE: passed=%s" % ret) print("test: MISSION COMPLETE: passed=%s" % ret)
# wait here until ready # wait here until ready
mavproxy.send('switch 5\n') mavproxy.send('switch 5\n')