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

Angle value issues #13

Open
TokenInk opened this issue Sep 25, 2018 · 1 comment
Open

Angle value issues #13

TokenInk opened this issue Sep 25, 2018 · 1 comment

Comments

@TokenInk
Copy link

I am planning on using an MPU6050 on a robotic leg to get position information.
Your code is by far the simplest and easy to use that I have found for the MPU. However there are some issues I am having a few issues with outputs of the angle values.

  • When using the GetAngle example the X angle begins to reset back to zero after each movement.
  • Rotation around the X axis causes the Z angle to change.
  • Rotation around the X and Z axis cause the Y axis to change.

This issue does not occur in the GetAllData example however the angleX value here does not seem to respond to changes in the X axis but instead changes with the Z axis.
I am not very advanced in my coding capabilities and don't really have any suggestions to fix this.

@DeanElliottIT
Copy link

DeanElliottIT commented Sep 29, 2018

how can i find a reference for MPU6050_tockn commands I can use in my Arduino sketches?

something like this one ...https://www.i2cdevlib.com/docs/html/class_m_p_u6050.html

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