A channel's trim lies outside its minimum and maximum
What ArduPilot says:
- PreArm: RCN_MAX is less than RCN_TRIM
- PreArm: RCN_MIN is greater than RCN_TRIM
Every channel the receiver sends has three calibration values: RCn_MIN, RCn_TRIM (the centre) and RCn_MAX. The trim must lie between the other two. The message gives the channel number where it does not, which cannot come from a normal calibration.
What to do, most likely first
Parameters were loaded from another aircraft's file, or only part of a file was written.
CheckRead the three values of the channel in the message; Parameter Compare & Migrate shows what differs from the file you meant to load.
FixCalibrate the radio again: it writes all three values for every channel.
One of the three values was typed by hand.
FixSet
RCn_TRIMbetweenRCn_MINandRCn_MAX: the centre for a stick (about 1500), equal toRCn_MINfor throttle.
Parameters to look at
| Parameter | What it is |
|---|---|
RC1_MIN | RC min PWM |
RC1_TRIM | RC trim PWM |
RC1_MAX | RC max PWM |
Where to do it:Setup & Tuning GuideParameter Compare & Migrate
The code that sends it
PreArm: RCN_MAX is less than RCN_TRIM
libraries/AP_Arming/AP_Arming.cpp AP_Arming::rc_calibration_checks() · Open in ArduPilot Copter-4.7.1
PreArm: RCN_MIN is greater than RCN_TRIM
libraries/AP_Arming/AP_Arming.cpp AP_Arming::rc_calibration_checks() · Open in ArduPilot Copter-4.7.1