Skip to content

Unit confusion: rad/sec or degrees/sec? #18

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

Closed
tmf97 opened this issue Dec 30, 2020 · 3 comments
Closed

Unit confusion: rad/sec or degrees/sec? #18

tmf97 opened this issue Dec 30, 2020 · 3 comments
Assignees

Comments

@tmf97
Copy link
Contributor

tmf97 commented Dec 30, 2020

Hello,
In all the documentation and examples I could find, the units used are in rad/s, but after looking at table 35 of the NXP datasheet, the units seem to be in degrees/second.
This all came up when testing the gyro just lying flat, not rotating, and was reading approximately 0.5 rad/s (which would correspond to ~30 degrees/second) in X and Z.

@ladyada
Copy link
Member

ladyada commented Dec 30, 2020

oops it could be...this is an older library! could you submit a PR to convert the library outputs to what they should be (Rad/s) ?

@tmf97
Copy link
Contributor Author

tmf97 commented Dec 30, 2020

Yup! There is the PR

@jposada202020
Copy link
Contributor

Solved by #19. Closing. Thanks

@tmf97 tmf97 closed this as completed Apr 24, 2021
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

4 participants