Skip to content

Change pitch and roll angle units from degrees to radians#23

Open
WillNilges wants to merge 1 commit intoK0I05:mainfrom
WillNilges:patch-1
Open

Change pitch and roll angle units from degrees to radians#23
WillNilges wants to merge 1 commit intoK0I05:mainfrom
WillNilges:patch-1

Conversation

@WillNilges
Copy link
Copy Markdown

I'm pretty sure that the example code in the README for the mpu6050 example outputs the pitch angle and roll angle in radians, not degrees. You're passing a ratio to atan, whose result is radians (https://en.cppreference.com/w/cpp/numeric/math/atan)

This is just a small change to update that in the README.md

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