EKF2: gnss reset improvements (#25297)

* ekf2: allow manual position reset when horizontal aiding is active

This allows the pilot to override position esitmates manually

* mavlink sim: add support of failure gps struck

* mavlink sim: add GNSS failure "wrong" type

* ekf2-gnss: add reset mode

This allows the user to choose whether the position should immediately
be reset to GNSS on fusion timeout or if the EKF can continue with
velocity dead-reckoning.

* ekf2: fix unit test changes due to GNSS start logic

Especially because the EKF doesn't need to reset the states if the test
ratio is already passing

* rename mode enum

* reset to gps lat lon on init

* remove obsolete reset-condition (handled in #25223)

* WIP try to upgrade compiler externally

---------

Co-authored-by: bresch <brescianimathieu@gmail.com>
Co-authored-by: Niklas Hauser <niklas@auterion.com>
This commit is contained in:
Marco Hauswirth
2025-07-30 11:39:56 +02:00
committed by GitHub
parent f4ea6feb47
commit c9206d6bd1
18 changed files with 772 additions and 631 deletions
+7 -1
View File
@@ -34,7 +34,13 @@ jobs:
- uses: actions/checkout@v4
- name: setup
run: ./Tools/setup/macos.sh; ./Tools/setup/macos.sh
run: |
./Tools/setup/macos.sh
./Tools/setup/macos.sh
brew unlink gcc-arm-none-eabi
brew tap osx-cross/arm
brew install arm-gcc-bin@13
brew link --force arm-gcc-bin@13
- name: Prepare ccache timestamp
id: ccache_cache_timestamp