You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when in the documentation, it is written as the following?
angleAccX = atan2(sgZ *accY, sqrt(accZ *accZ + accX *accX)) * RAD_2_DEG; // [-180,+180] deg
angleAccY = atan2(accX, sqrt(accZ *accZ + accY *accY)) * RAD_2_DEG; // [- 90,+ 90] deg
The text was updated successfully, but these errors were encountered:
Why is the source code like this
angleAccX = atan2(accY, sgZ * sqrt(accZ * accZ + accX * accX)) * RAD_2_DEG; // [-180,+180] deg
angleAccY = - atan2(accX, sqrt(accZ * accZ + accY * accY)) * RAD_2_DEG; // [- 90,+ 90] deg
when in the documentation, it is written as the following?
angleAccX = atan2(sgZ *accY, sqrt(accZ *accZ + accX *accX)) * RAD_2_DEG; // [-180,+180] deg
angleAccY = atan2(accX, sqrt(accZ *accZ + accY *accY)) * RAD_2_DEG; // [- 90,+ 90] deg
The text was updated successfully, but these errors were encountered: