Tailsitter and tiltrotor are both enabled
What ArduPilot says:
- PreArm: set TAILSIT_ENABLE 0 or TILT_ENABLE 0
- Config Error: set TAILSIT_ENABLE 0 or TILT_ENABLE 0
Q_TAILSIT_ENABLE and Q_TILT_ENABLE are both above 0. A tailsitter takes off standing on its tail and pitches its whole body forward to fly on the wing; a tiltrotor keeps its body level and swivels its motors forward. An aircraft is one or the other. At power-on this is a “Config Error” repeated every 5 s while the board does nothing else; set after start-up, it stops arming.
What to do, most likely first
One of the two was switched on by ArduPilot itself, from other parameters.
CheckAt start-up, if it was never set by hand,
Q_TAILSIT_ENABLEbecomes 1 whenQ_FRAME_CLASSis 10 orQ_TAILSIT_MOTMXis not 0, andQ_TILT_ENABLEbecomes 1 whenQ_TILT_MASKis not 0 orQ_TILT_TYPEis 3.FixSet the one that is not your airframe to 0, clear the parameter that switched it on (
Q_TILT_MASKorQ_TAILSIT_MOTMX), and reboot.The parameters were loaded from a file made for a different kind of VTOL.
CheckParameter Compare & Migrate shows what the file changed.
FixDecide which of the two the aircraft is, set the other enable parameter to 0, and reboot.
A tailsitter whose motors tilt a little for control (vectored thrust) is still a tailsitter: Q_TILT_ENABLE stays 0.
Parameters to look at
| Parameter | What it is |
|---|---|
Q_TAILSIT_ENABLE | Enable Tailsitter |
Q_TILT_ENABLE | Enable Tiltrotor functionality |
Q_FRAME_CLASS | Frame Class |
Q_TAILSIT_MOTMX | Tailsitter motor mask |
Q_TILT_MASK | Tiltrotor mask |
Q_TILT_TYPE | Tiltrotor type |
Where to do it:Parameter Compare & Migrate
The code that sends it
PreArm: set TAILSIT_ENABLE 0 or TILT_ENABLE 0
ArduPlane/AP_Arming.cpp AP_Arming_Plane::quadplane_checks() · Open in ArduPilot Plane-4.6.3
ArduPlane/AP_Arming_Plane.cpp AP_Arming_Plane::quadplane_checks() · Open in ArduPilot Plane-4.7.1
Config Error: set TAILSIT_ENABLE 0 or TILT_ENABLE 0
ArduPlane/quadplane.cpp QuadPlane::setup() · Open in ArduPilot Plane-4.7.1