mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 08:53:56 -04:00
autotest: rover: wait ready to arm before running motor test
This commit is contained in:
parent
001c39f17b
commit
4180fad6af
@ -4552,6 +4552,7 @@ Brakes have negligible effect (with=%0.2fm without=%0.2fm delta=%0.2fm)
|
|||||||
def test_motor_test(self):
|
def test_motor_test(self):
|
||||||
'''AKA run-rover-run'''
|
'''AKA run-rover-run'''
|
||||||
magic_throttle_value = 1812
|
magic_throttle_value = 1812
|
||||||
|
self.wait_ready_to_arm()
|
||||||
self.run_cmd(
|
self.run_cmd(
|
||||||
mavutil.mavlink.MAV_CMD_DO_MOTOR_TEST,
|
mavutil.mavlink.MAV_CMD_DO_MOTOR_TEST,
|
||||||
1, # p1 - motor instance
|
1, # p1 - motor instance
|
||||||
|
Loading…
Reference in New Issue
Block a user