[Bug] GPS failure, notify user

Author: dakejahlCreated Feb 18, 2025Updated Sep 27, 2026

Describe the bug

We had a customer experience some momentary GPS interference which kicked the vehicle out of position mode and into altitude mode. They reported the issue to us because it was not clear from the log what caused the failure. The log file contains some cryptic warnings.

Image

After analyzing the log it appears that the speed accuracy exceeded the max threshold. Although I tried to reproduce this in sim and was unable to cause the failure by simply increasing the speed accuracy. It's hard to tell where exactly in ekf code the failure occurs without some kind of indicator.

To Reproduce

Experience GPS interference. Maybe a long term goal would be to add a failure injection test mode into sim for simulating GPS interference.

Expected behavior

There should be an event notification that informs the user at GCS that the vehicle has lost position hold (xy_valid goes false). Ideally it would be even more specific and indicate the exact reason for failure (eg speed accuracy exceeds max threshold). The log file should also contain this notification and we should suppress the other side effect warnings.

Screenshot / Media

Image

Flight Log

https://logs.px4.io/plot_app?log=c25d5ee4-1531-4dc3-9906-637c52488da4

Software Version

v1.15.0

Flight controller

ARKV6X

Vehicle type

Multicopter

How are the different components wired up (including port information)

No response

Additional context

No response