Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.12.3: EKF2 do not work when SYS_HAS_BARO = 0 #18227

Closed
aet2230 opened this issue Sep 12, 2021 · 3 comments
Closed

v1.12.3: EKF2 do not work when SYS_HAS_BARO = 0 #18227

aet2230 opened this issue Sep 12, 2021 · 3 comments

Comments

@aet2230
Copy link

aet2230 commented Sep 12, 2021

Tried v1.12.3. On our application we use VIO only, and do not use magnetometer and barometer.
Tried do disable barometer and magnetometer chacks via SYS_HAS_* parameters (to avoid unwanted checks or other issues if unused HW is faulty)
After setting SYS_HAS_MAG = 0, works ok.
When SYS_HAS_BARO = 0, EKF2 does not start (or does not initialize). With SYS_HAS_BARO = 1, works OK, even if not used.

@aet2230 aet2230 changed the title EKF2 do not work when SYS_HAS_BARO = 0 v1.12.3: EKF2 do not work when SYS_HAS_BARO = 0 Sep 12, 2021
@dagar
Copy link
Member

dagar commented Sep 13, 2021

Currently baro data is required to initialize ekf2.

Previously I started refactoring things to only require the data for the specific height mode, but that's stalled. PX4/PX4-ECL#996

If you're able to help test and review we could resurrect the effort.

@lukegluke
Copy link
Contributor

Temporary you could use this workaround for example that use gps height on initialization step if it fits you:
PX4/PX4-ECL#876 (comment)

@bresch
Copy link
Member

bresch commented Oct 26, 2022

This works now

@bresch bresch closed this as completed Oct 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants