The mission lacks an item that is required for arming
What ArduPilot says:
- PreArm: Missing mission item: …
ARMING_MIS_ITEMS lists kinds of mission item that must be in the stored mission before arming is allowed: bit 0 a landing, bit 1 a VTOL landing, bit 2 DO_LAND_START, bit 3 a take-off, bit 4 a VTOL take-off, bit 5 a rally point, bit 6 RTL. The message names the first kind it did not find: land, vtol land, do land start, takeoff, vtol takeoff or RTL. The check looks only for an item of that kind anywhere in the mission, not at whether the mission makes sense. The default is 0: nothing is required.
What to do, most likely first
No mission is on the aircraft, or not the one you think.
CheckRead the mission back from the aircraft in the ground station's Plan screen.
MIS_TOTALis the number of stored items; 0 or 1 means there is no mission.FixWrite the mission to the aircraft and read it back.
The mission has no such item: for example it stops at the last waypoint, with no landing and no RTL.
FixAdd the item the message names and write the mission again.
The mission is erased at every start-up, because
MIS_OPTIONSbit 0 is set.Check“Clearing Mission” is among the start-up messages.
FixUpload the mission after every power-on, or clear bit 0 of
MIS_OPTIONSso that the mission is kept.ARMING_MIS_ITEMScame with another aircraft's parameters and asks for items this one cannot fly, such as a VTOL landing on an ordinary copter.CheckRead the bits of
ARMING_MIS_ITEMSagainst the list above.FixKeep only the bits for items that your own missions must always contain.
Parameters to look at
| Parameter | What it is |
|---|---|
ARMING_MIS_ITEMS | Required mission items |
MIS_TOTAL | Total mission commands |
MIS_OPTIONS | Mission options bitmask |
Where to do it:Mission Energy CheckSetup & Tuning Guide
The code that sends it
PreArm: Missing mission item: …
libraries/AP_Arming/AP_Arming.cpp AP_Arming::mission_checks() · Open in ArduPilot Copter-4.7.1