← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

The mission holds a command this firmware cannot carry out

WarningMissions, fence, rally points, terrain

What ArduPilot says:

In Auto the mission reached a command this firmware does not know; it is skipped and the mission goes on with the next one. The number after “#” is not the item's place in the mission: it is the MAVLink command number (MAV_CMD) of the command that was skipped. A skipped navigation command changes the path the mission flies, so look at where the aircraft will go next.

What to do, most likely first

  1. The mission was planned for another vehicle type, or with a planner set to another firmware.

    CheckLook the number up in the list of MAV_CMD commands and find that item in the mission.

    FixPlan the mission while connected to this aircraft, so the planner offers only the commands it supports.

  2. The feature behind the command was left out of this board's firmware (gripper, winch, payload place, scripting).

    CheckThe Firmware Inspector lists what a firmware file was built with.

    FixBuild a firmware that includes the feature, or remove the command.

The code that sends it

Skipping invalid cmd #N

ArduCopter/mode_auto.cpp ModeAuto::verify_command() · Open in ArduPilot Copter-4.7.1

ArduPlane/commands_logic.cpp Plane::verify_command() · Open in ArduPilot Plane-4.7.1

Written here for Copter 4.6. In the tool you choose your vehicle and version, see your own parameter values beside the ones named here, and drop a flight log to have every message in it explained.

Open it in the Message & Error Explainer