|
|
|
@ -35,7 +35,7 @@ def arm_motors(mavproxy, mav):
@@ -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):
@@ -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") |
|
|
|
|