autotest: fixed heli test

need to wait for motor runup
This commit is contained in:
Andrew Tridgell 2017-09-27 20:54:21 +10:00
parent edb5f084bb
commit 776355ef2b

View File

@ -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')