I am trying to debug my quadcopter. I am using a brand new Cube Orange flight controller. It is connected by USB to a laptop. The controller is not connected to a battery, GPS, or safety switch, and I have disabled all of the arming checks. I have updated to the most recent 4.2.3 firmware for copters (quadcopter configuration).
I am trying to test the motors using Mission Planner. I would like to adjust the Motor 1 throttle in Mission Planner’s “Motor test” and see the corresponding change in the PWM signal in an oscilloscope. However, I receive the error “Command was denied by autopilot” for any test I try (ex: 20% for 10 seconds).
I can see 3.3 V pulses from MAIN 1 output of the CubeOrange, but they obviously don’t change. They are at a higher frequency and amplitude than the 5 V pulses I see from a servo tester. I wasn’t expecting that.
Am I forgetting any configuration step? I am new with quadcopters and Ardupilot and would appreciate any advice.
Complementing @dkemxr response, if I am not mistaken, the FC will deny this command if you are sending it by USB (it is a safety concern about someone being close enough to a propelled motor and being injured during the test). Always perform it via telemetry radio.
I am only a student, so take this with a grain of salt, but in class it appeared we fixed this problem by raising the throttle from 5% to 20%. That seemed to be the minimum threshold at which the motors could be tested.
You use the MissionPlanner motor test to find and set the minimum percentage for MOT_SPIN_ARM first, then add about 0.03 and set MOT_SPIN_MIN
So if motor test can reliably spin all motors at 9 percent (0.09) but is not so reliable at 7 or 8 percent, then set MOT_SPIN_ARM,0.09 and set MOT_SPIN_MIN,0.12
With the newer ESCs, BLHELI_32 and similar, that ARM spin can be very low and that is good for a pre-flight check to see if all the motors are spinning correctly. But if MOT_SPIN_ARMis very low like 0.04 for example, then you probably still need to have MOT_SPIN_MIN up around 0.10 or just over, or the motors could be stopped by wind or descents - you dont want that to happen.
I just received a Pixhawk 6c sans the GPS. I could not remove the safety switch in the paramators. I ended up picking up a new GPS 10 and I could arm and calibrate. Go figure.