A flight mode was asked for that this firmware does not have
What ArduPilot says:
- No such mode N
Something asked for the flight mode with the number shown, and this firmware has no mode with that number: either the number is not a mode at all, or the mode was left out of the build for this board. The aircraft stays in the mode it was in. The log records it as an ERR of subsystem FLIGHT_MODE with the same number.
What to do, most likely first
A position of the mode switch is set to a mode this firmware lacks.
CheckThe message appears when you move the mode switch to one position. Read FLTMODE1 to FLTMODE6 for the number.
FixSet that FLTMODEn to a mode from its list.
The parameters came from another vehicle type, or from a firmware with more modes built in.
CheckThe Firmware Inspector shows what a firmware file was built with.
FixChoose a mode this firmware has, or build a firmware that includes the one you want.
A ground station, a script or a mission asked for it.
FixUpdate the ground station, or correct the script or the mission item that sets the mode.
Parameters to look at
| Parameter | What it is |
|---|---|
FLTMODE1 | Flight Mode 1 |
FLTMODE2 | Flight Mode 2 |
FLTMODE3 | Flight Mode 3 |
FLTMODE4 | Flight Mode 4 |
FLTMODE5 | Flight Mode 5 |
FLTMODE6 | Flight Mode 6 |
Where to do it:Setup & Tuning GuideFirmware Inspector
The code that sends it
No such mode N
libraries/AP_Vehicle/AP_Vehicle.cpp AP_Vehicle::notify_no_such_mode() · Open in ArduPilot Copter-4.7.1