Added more time for timeouts

This commit is contained in:
Jason Short 2011-11-14 22:20:51 -08:00
parent 3eaef4081c
commit 839774fbf3
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ def wait_location(mav, loc, accuracy=5, timeout=30, target_altitude=None, height
print("Failed to attain location")
return False
def wait_waypoint(mav, wpnum_start, wpnum_end, allow_skip=True, timeout=60):
def wait_waypoint(mav, wpnum_start, wpnum_end, allow_skip=True, timeout=400):
'''wait for waypoint ranges'''
tstart = time.time()
# this message arrives after we set the current WP