mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
autotest: fixed heli test
need to wait for motor runup
This commit is contained in:
parent
edb5f084bb
commit
776355ef2b
@ -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…
Reference in New Issue
Block a user