Failsafe options for EK2 or GPS failure

I’m dealing with EK2 errors that appear to be related to GPS data that fails.

This is primarily an issue with pre-arm checks. But when it happens in test flights in POSITION flight mode, the copter switches to ALTITUDE mode momentarily until the problem clears.

This is exactly the behavior I want - and would be especially helpful when in AUTO flight mode.

When I search for how this behavior is determined (by parameter) all I find is citations that the vehicle would most likely land or return to land. Either of these could be problematic, especially where obstacles exist. But I can’t find reference to a parameter to set this failsafe action.

I’d like greater clarity on what happens with the COM_POS_FS_DELAY parameter.
Specifically:

  1. What happens during the delay period?
  2. What failsafe happens? Which is to my point - I can’t find a way to set this failsafe action.

The best option in my opinion is to failsafe to ALTITUDE flight mode. (which it seems to be doing now) Since I’m always flying line-of-sight, this allows me to fly manually back to a safe place to land.

Are there settings that control failsafe actions upon a EK2 or GPS failure? I need to be sure of what the vehicle will do when flying a mission.

Thanks!

Just to be sure, you’re using PX4? The mode names and term “EK2” sounds like Ardupilot.

Can you upload a log to px4 flight review and share the link?

Yes - I’ve used ArduPilot for the last 5 years - I’m just now learning PX4.

It’s easy to get the Extended Kalman filter references mixed up.

But for sure - everything I’ve posted on this thread is about PX4.

1 Like

This has been removed as of 1.16 (which is currently in the release testing process). See this PR for context Commander: remove `COM_POS_FS_DELAY` by MaEtUgR · Pull Request #24063 · PX4/PX4-Autopilot · GitHub

All of the information regarding failsafes can be found here Safety (Failsafe) Configuration | PX4 Guide (main). Let me know if you can’t find the information you’re looking for.