Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

EKF: Bug in yaw reset variance calculation #548

Closed
CarlOlsson opened this issue Jan 3, 2019 · 1 comment · Fixed by #549
Closed

EKF: Bug in yaw reset variance calculation #548

CarlOlsson opened this issue Jan 3, 2019 · 1 comment · Fixed by #549

Comments

@CarlOlsson
Copy link
Contributor

In resetMagHeading() in ekf_helper.cpp we use the angular error of the last external vision measurement when we calculate the angular error variance vector even if external vision is not activated.

https://github.com/PX4/ecl/blob/4822bf83861513cf330ab1482439ed1c72e99232/EKF/ekf_helper.cpp#L732-L739

The bug seems to have been introduced here

@priseborough
Copy link
Collaborator

I'll raise a PR for this. It's a quick fix.

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 a pull request may close this issue.

2 participants