Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

ROMFS: Update Solo EKF2 tuning defaults to increase GPS glitch resistance#18

Open
priseborough wants to merge 1 commit into
masterfrom
pr-ekf2TuningUpdates
Open

ROMFS: Update Solo EKF2 tuning defaults to increase GPS glitch resistance#18
priseborough wants to merge 1 commit into
masterfrom
pr-ekf2TuningUpdates

Conversation

@priseborough
Copy link
Copy Markdown

Updates to achieve equivalent GPS velocity innovations to EKF1. This is required to ensure that equivalence in GPs glitch detection levels are achieved. The default values from upstream are set to accomodate IMU installations with increased resistance to the effects of aliasing and clipping, however this comes at the expense of increased susceptibility to GPS glitches.

These revised values have been tuned using a flight log with significant GPS glitch events. The following innovation sequences are from a replay of the flight log using both EKF1 and EKF2 + revised tuning for the section of log where the GPS glitches occurred.

screen shot 2016-07-13 at 9 57 00 pm

With the default tuning EKF2 follows the GPS glitch more than EKF1 with innovation levels during the glitch being half.

screen shot 2016-07-13 at 10 01 34 pm

This tuning is a compromise between handling IMU and GPS errors, however GPS glitch events have been historically much more common in support tickets than IMU data quality problems.

Updates to achieve equivalent GPS velocity innovations to EKF1.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant