How the ArduPilot parameter system works

ArduPilot stores its behaviour as named parameters you tune through a ground station to match each vehicle and mission.

Every ArduPilot firmware is the same core code adjusted by a large set of parameters. That design is why one binary can fly a gentle photography copter or an aggressive acrobatic one, and why a wrong value can make a healthy airframe unflyable. This guide explains what a parameter is, where the values come from, and how to change one without losing a working configuration.

What a parameter is

A parameter is a named value kept in the controller's non-volatile memory. It has a type, usually a permitted range, and a name whose prefix identifies the subsystem that owns it.

Prefix pattern Subsystem it points at
FRAME_ Frame class and type
INS_ Inertial sensors and accelerometer calibration
EK3_ The EKF3 state estimator
SERVO1_ to SERVOn_ Output channel behaviour and limits
BATT_ Battery monitor configuration
RTL_ Return-to-launch behaviour
MAV_ MAVLink identity and stream settings

The prefix is a reading aid, not a contract. The authoritative description for any parameter is the documentation page for that firmware family, which lists the value range and the effect.

Where a value comes from

A parameter's current value is the last one written. Behind that, defaults come from two layers:

  1. The firmware's own default, compiled into the build.
  2. The board's hardware definition, which can override defaults for that specific controller. The porting documentation describes hardware definitions that change parameter defaults as a normal part of a board port.

That second layer explains a common surprise: the same firmware on two boards can start from different values, because the hardware differs and the port adjusts for it. Comparing "fresh firmware" behaviour across boards without checking both default sets is a false comparison.

A third source sits outside the firmware: a parameter file loaded through a ground station. Once written, those values are indistinguishable from any other. Nothing in the vehicle records that a value came from a file rather than from tuning.

Reading and writing

On the wire, parameters travel over MAVLink. A client can ask for one value, ask for the full list, or write a value; the vehicle answers with the resulting value, which is the only confirmation that matters.

Two consequences:

In the ground station, the same operations appear as a searchable parameter list with current values, units and descriptions. Comparing two vehicles side by side is the fastest way to find the one value that differs between a working and a non-working machine.

A change loop that stays reversible

  1. Save the current parameter set to a file, with the date and the firmware version in the file name.
  2. Change one parameter, or one tightly related group.
  3. Read it back and confirm the value.
  4. Test in the least risky mode that still exercises the change.
  5. If the result is worse, restore the saved file rather than trying to remember the old number.

The last step is the one people skip. A parameter set saved before a tuning session is the only reliable rollback; a screenshot of a parameter screen is not.

What tuning is not

Parameter tuning cannot fix a mechanical problem, a wrong sensor orientation or an undersized power system. A gain that hides an oscillation on the bench usually reappears as a worse oscillation in wind.

It also does not transfer between vehicles. A value copied from a similar build is a starting point, not an answer, because mass distribution, propeller choice and sensor mounting change the response.

Documentation, defaults and drift

Recommended ranges live in the official documentation for each firmware family. Field experience and community forums refine them, but the documentation is the source of truth for supported behaviour, and it is the only source that tells you what a value does rather than what it did on one airframe.

Firmware updates can add parameters, retire others and change defaults. After an update, compare the saved set with the new defaults before flying, and treat a silently changed default as a configuration change rather than an improvement.

Related reading