mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 01:18:29 -04:00
autotest: fixed incorrect altitude wait
This commit is contained in:
parent
be886ef9bc
commit
3057ef9fb7
@ -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, 1, num_wp, timeout=90)
|
ret = wait_waypoint(mav, 1, num_wp, timeout=90)
|
||||||
|
|
||||||
print("MISSION COMPLETE: passed=%s" % ret)
|
print("MISSION COMPLETE: passed=%s" % ret)
|
||||||
|
Loading…
Reference in New Issue
Block a user