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

EKF.update() doesn't accept mag data #41

Open
tkschuler opened this issue Jul 7, 2021 · 1 comment
Open

EKF.update() doesn't accept mag data #41

tkschuler opened this issue Jul 7, 2021 · 1 comment

Comments

@tkschuler
Copy link

EKF only works with magnetometer data if the one liner ekf() function is called without using ekf.update().

If mag data is included in the update function, the R covariance matrix isn't initialized properly and is a 3x3 instead of 6x6.

@AlexVaith
Copy link

AlexVaith commented Jul 13, 2021

for me, it works if I include the complete mag array into the ekf() call. I do not know if this is correct though. Then I can add the mag vector of the current timestamp into the update function without an error-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants