Skip to content

Conversation

blaksmith205
Copy link

Noticed there was some minor problems with how the angle was calculated. When the sensor was rotated about the Z-axis, the roll and pitch changed which didn't make any sense.

Code is updated to reflect the following calculation from:
https://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles

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

Successfully merging this pull request may close these issues.

1 participant