Skip to content

add reset functions for the angles#44

Open
alibustami wants to merge 1 commit intorfetick:masterfrom
alibustami:master
Open

add reset functions for the angles#44
alibustami wants to merge 1 commit intorfetick:masterfrom
alibustami:master

Conversation

@alibustami
Copy link
Copy Markdown

No description provided.

@Nzxtime
Copy link
Copy Markdown

Nzxtime commented Dec 28, 2025

I would second this with an additional change that is a reset of angleZ in MPU6050::begin because otherwise, for me at least, getAngleZ() has a huge "offset". With a reset to 0 when the MPU6050 gets initialized, the angleZ would represent the yaw angle relative to the starting direction (without the drift).

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.

2 participants