MPU6050_tockn
MPU6050_tockn copied to clipboard
Angle value issues
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.
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