Browse Source

autotest: fixed heli test

need to wait for motor runup
mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
776355ef2b
  1. 3
      Tools/autotest/arducopter.py

3
Tools/autotest/arducopter.py

@ -885,6 +885,9 @@ def fly_avc_test(mavproxy, mav): @@ -885,6 +885,9 @@ def fly_avc_test(mavproxy, mav):
print("Fly AVC mission from 1 to %u" % num_wp)
mavproxy.send('wp set 1\n')
# wait for motor runup
wait_seconds(mav, 20)
# switch into AUTO mode and raise throttle
mavproxy.send('switch 4\n') # auto mode
wait_mode(mav, 'AUTO')

Loading…
Cancel
Save