← All tools

Message & Error Explainer

What an ArduPilot message means and what to do about it

Українська

The EKF no longer has a position: it holds attitude and height only

WarningPosition and attitude estimate (EKF, AHRS)

What ArduPilot says:

A copy of the EKF (ArduPilot's position and attitude estimator; IMU numbers the copy, from 0) has stopped using GPS, or optical flow, or whatever gave it position and speed. It no longer knows where the aircraft is or how fast it moves over the ground. It gives up after 15 s without any usable speed or position reading. “EKF3 IMU0 is using GPS” marks the return. In flight this means a position mode can no longer be held.

What to do, most likely first

  1. The GPS was lost for more than 15 s: indoors, under a roof, an unplugged antenna or jamming.

    CheckThe GPS status and satellite count at that moment; on the bench, whether the aircraft had just been carried inside.

    FixOn the ground nothing needs fixing: it resumes when the GPS returns. In flight, fly it yourself in a mode that needs no position and land; then find why the GPS dropped out.

  2. The aircraft flies with no heading source set (EK3_SRC1_YAW 0): on every disarm the EKF drops its position on purpose until movement lets it find the heading again.

    CheckThe line comes at each disarm and at no other time.

    FixNothing to change: it is how that set-up works.

  3. With optical flow instead of GPS: the flow data was unusable for 5 s (too high, too dark, a surface with no texture).

    FixFly lower, over a lit surface with visible detail, inside the rangefinder's range.

With EK3_OPTIONS bit 0 set, a GPS that returns after a gap of more than 2 s must pass the EKF's pre-flight quality checks again before it is used, provided the EKF can dead-reckon meanwhile.

Parameters to look at

ParameterWhat it is
EK3_SRC1_POSXYPosition Horizontal Source (Primary)
EK3_SRC1_VELXYVelocity Horizontal Source
EK3_SRC1_YAWYaw Source
EK3_OPTIONSOptional EKF behaviour
GPS1_TYPEGPS type
The code that sends it

EKF3 IMUN stopped aiding

libraries/AP_NavEKF3/AP_NavEKF3_Control.cpp NavEKF3_core::setAidingMode() · Open in ArduPilot Copter-4.7.1

EKF2 IMUN has stopped aiding

libraries/AP_NavEKF2/AP_NavEKF2_Control.cpp NavEKF2_core::setAidingMode() · Open in ArduPilot Copter-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