The motor test started, finished or was cut short
What ArduPilot says:
- starting motor test
- finished motor test
- Motor Test: cancelled
“starting motor test”: the checks passed and the motor asked for is being driven. The outputs are armed for the length of the test, and the radio, ground station and EKF failsafes are suspended while it runs. “finished motor test”: the time ran out (10 minutes at most) or the throttle value was out of range; the motors are disarmed and the failsafes restored. “Motor Test: cancelled” (4.7): the motor could not be driven any longer, because the outputs were disarmed or stopped in the middle of the test.
What to do, most likely first
“cancelled”, or in 4.6 a test that starts and spins nothing: a motor interlock switch (
RCn_OPTION32) is in its off position, or an emergency stop was switched on.FixPut the switch in its run position and repeat the test with the props off.
The test runs but one motor stays still.
FixCheck that motor's ESC wiring, its
SERVOn_FUNCTIONand the ESC protocol, as the Setup & Tuning Guide's output and motor test steps describe.
Where to do it:Setup & Tuning GuideSetup & Tuning Guide
The code that sends it
starting motor test
ArduCopter/motor_test.cpp Copter::mavlink_motor_test_start() · Open in ArduPilot Copter-4.7.1
finished motor test
ArduCopter/motor_test.cpp Copter::motor_test_stop() · Open in ArduPilot Copter-4.7.1
Motor Test: cancelled
ArduCopter/motor_test.cpp Copter::motor_test_output() · Open in ArduPilot Copter-4.7.1
ArduPlane/motor_test.cpp QuadPlane::motor_test_output() · Open in ArduPilot Plane-4.7.1