autotest: fixed copter for new strings for arm/disarm

This commit is contained in:
Andrew Tridgell 2015-11-29 18:39:32 +11:00
parent 1768e806bb
commit ffa316c1f3

View File

@ -35,7 +35,7 @@ def arm_motors(mavproxy, mav):
wait_mode(mav, 'STABILIZE')
mavproxy.send('rc 3 1000\n')
mavproxy.send('rc 4 2000\n')
mavproxy.expect('APM: ARMING MOTORS')
mavproxy.expect('APM: Arming motors')
mavproxy.send('rc 4 1500\n')
mav.motors_armed_wait()
print("MOTORS ARMED OK")
@ -48,7 +48,7 @@ def disarm_motors(mavproxy, mav):
wait_mode(mav, 'STABILIZE')
mavproxy.send('rc 3 1000\n')
mavproxy.send('rc 4 1000\n')
mavproxy.expect('APM: DISARMING MOTORS')
mavproxy.expect('APM: Disarming motors')
mavproxy.send('rc 4 1500\n')
mav.motors_disarmed_wait()
print("MOTORS DISARMED OK")