← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

Too little free memory to start the QuadPlane code

Stops itPlane: take-off, landing, QuadPlanePlane only

What ArduPilot says:

When Q_ENABLE is set, ArduPilot creates the lift-motor mixer, the attitude and position controllers and the waypoint and loiter navigation in RAM. Before doing so it checks that enough is free for all of them plus 4 kB, and it was not. This is a “Config Error”: it repeats every 5 s and the board does nothing else.

What to do, most likely first

  1. Other features have taken the memory: Lua scripting, terrain data, many extra drivers.

    CheckThe ground station shows the free memory. SCR_ENABLE with a large SCR_HEAP_SIZE is the usual big consumer.

    FixSwitch off what the aircraft does not use (SCR_ENABLE, TERRAIN_ENABLE) or lower SCR_HEAP_SIZE, and reboot.

  2. The flight controller has too little RAM for a QuadPlane.

    FixUse a board with more memory (an H7 board), or a firmware built without the features you do not need.

Parameters to look at

ParameterWhat it is
Q_ENABLEEnable QuadPlane
SCR_ENABLEEnable Scripting
SCR_HEAP_SIZEScripting Heap Size
TERRAIN_ENABLETerrain data enable
The code that sends it

Config Error: Not enough memory for quadplane

ArduPlane/quadplane.cpp QuadPlane::setup() · Open in ArduPilot Plane-4.7.1

Written here for Plane 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