Browse Source

autotest: fixed incorrect altitude wait

mission-4.1.18
Andrew Tridgell 13 years ago
parent
commit
3057ef9fb7
  1. 2
      Tools/autotest/arducopter.py

2
Tools/autotest/arducopter.py

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

Loading…
Cancel
Save