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

Different question about serious drift #12

Open
mmarkell opened this issue Apr 10, 2017 · 3 comments
Open

Different question about serious drift #12

mmarkell opened this issue Apr 10, 2017 · 3 comments

Comments

@mmarkell
Copy link

Hello!

First of all, thank you for the code you've written for the LSM9DS0. It's taught me a lot and I am very grateful!

However, sadly, something is going very wrong with my LSM9DS0 measurement drift.

Basically, let's say I hold the device at rest. The yaw, pitch, and roll start at some value (arbitrary seeming, definitely not zeroed for a flat and upward facing orientation, for instance.)

Next, they drift, slowly at first, and then in very large jumps. Within a few minutes, the yaw pitch and roll I'm calculating might go in complete circles, even though the device is stationary.

It's not totally inaccurate - it measures acceleration quite well from point A to point B, and knows in general which way I am turning the device. However, the drift over time is pretty insane.

Steps I have taken: I am using a mahony filter, and recently implemented the calLSM9DS0 method from your code.

I would appreciate any advice you may have - do you think my device is faulty?

Thank you for your help!

@kriswiner
Copy link
Owner

kriswiner commented Apr 10, 2017 via email

@mmarkell
Copy link
Author

mmarkell commented Apr 10, 2017 via email

@kriswiner
Copy link
Owner

kriswiner commented Apr 10, 2017 via email

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