Member #357531

Member Since: September 2, 2012

Country: United States

  • Product SEN-11028 | about a year ago

    Hi Jeff. I am wondering if you have figured out the reason for the pitch/roll values not going above +/-90 degrees. I ran into the same issue when I mounted the IMU vertically. Any help would be appreciated.

    EDIT (4/2/13): I think I found the issue in the code. It’s in the MPU6050_6Axis_MotionApps20.h file. Where the yaw/pitch/roll is calculated (lines 644-653) it is impossible to get angles above +/-90 degrees because of trig function used (atan). Atan only provides values between -90 and +90 degrees hence why we can’t get anything above that. Atan2 provides values between -180 and +180 degrees. I am working on changing it. I will post any updates.

No public wish lists :(