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

AHRS not updating correctly #12

Closed
robertoostenveld opened this issue May 12, 2019 · 1 comment
Closed

AHRS not updating correctly #12

robertoostenveld opened this issue May 12, 2019 · 1 comment

Comments

@robertoostenveld
Copy link
Owner

robertoostenveld commented May 12, 2019

Applying my esp8266_imu_osc setup with a detailed stick-figure model, I realized that the AHRS is not correct. The yaw (rotation around around vertical axis, i.e. heading) does not update, and depending on the initial position when switching on, it is very different and not heading north.

I am not sure whether this is due to an error that I introduced in the changes that I made relative to the original code of kriswiner, or whether it is due to miscalibration.

@robertoostenveld
Copy link
Owner Author

It turned out to be due to improper calibration of the magnetometer, in combination with a missing minus sign for mz that is fixed with this pull request.

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

1 participant