← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

An EKF source parameter holds a value that is not allowed

Stops itPosition and attitude estimate (EKF, AHRS)

What ArduPilot says:

The EKF, ArduPilot's position and attitude estimator, is told where to take each quantity from: horizontal position (EK3_SRCn_POSXY), horizontal speed (EK3_SRCn_VELXY), height (EK3_SRCn_POSZ), vertical speed (EK3_SRCn_VELZ) and heading (EK3_SRCn_YAW), in three sets (n is 1, 2 or 3). The message names the parameter whose value does not fit that quantity. All three sets are checked, not only the one in use. The heading is always checked, the others when a position is needed.

What to do, most likely first

  1. A parameter file from another aircraft or an older version was loaded, or the value was typed by hand.

    CheckRead the named parameter and compare it with what is allowed: POSXY 0, 3, 4 or 6; VELXY 0, 3, 5, 6 or 7; POSZ 0, 1, 2, 3, 4 or 6; VELZ 0, 3 or 6; YAW 0, 1, 2, 3, 6 or 8.

    FixFor an aircraft with GPS, compass and barometer use the defaults: EK3_SRC1_POSXY 3, EK3_SRC1_VELXY 3, EK3_SRC1_POSZ 1, EK3_SRC1_VELZ 3, EK3_SRC1_YAW 1.

  2. A second or third source set was filled in only in part.

    CheckThe digit in the message is 2 or 3.

    FixGive that set valid values too. A set you do not use can copy set 1.

Parameters to look at

ParameterWhat it is
EK3_SRC1_POSXYPosition Horizontal Source (Primary)
EK3_SRC1_VELXYVelocity Horizontal Source
EK3_SRC1_POSZPosition Vertical Source
EK3_SRC1_VELZVelocity Vertical Source
EK3_SRC1_YAWYaw Source
EK3_SRC2_POSXYPosition Horizontal Source (Secondary)
The code that sends it

Check EK3_SRCN_POSZ

libraries/AP_NavEKF/AP_NavEKF_Source.cpp AP_NavEKF_Source::pre_arm_check() · Open in ArduPilot Copter-4.7.1

Check EK3_SRCN_YAW

libraries/AP_NavEKF/AP_NavEKF_Source.cpp AP_NavEKF_Source::pre_arm_check() · Open in ArduPilot Copter-4.7.1

Check EK3_SRCN_VELXY

libraries/AP_NavEKF/AP_NavEKF_Source.cpp AP_NavEKF_Source::pre_arm_check() · Open in ArduPilot Copter-4.7.1

Check EK3_SRCN_POSXY

libraries/AP_NavEKF/AP_NavEKF_Source.cpp AP_NavEKF_Source::pre_arm_check() · Open in ArduPilot Copter-4.7.1

And 1 more messages, sent from the same places.

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