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

Which coordinate system does the DMP quaternion for the MPU-9250 initalise in? #14

Open
andymichael09 opened this issue Dec 11, 2017 · 1 comment

Comments

@andymichael09
Copy link

When I use your library to fetch the DMP quaternion, I get different values in different initialising orientations. So, I was wondering which coordinate system the DMP quaternion for the MPU-9250 initalise in? Was thinking that it might just initialise with respect to a gravity vector. Could you confirm whether this is the case/provide any insight?

@gonzaarcr
Copy link

Z is vertical, always, but the plane XY (paralel to the ground) is moving in my case, I think is because the gyro drift. It probably uses the gravity to put it in a more accurate frame, but because it is perpendicular to the ground it can't do anything with that playing.

I don't know why it doesn't use the magnetometer to adjust that; probably because an external magnetic field would broke everything, but I'm just guessing.

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