Currently, accelerometer angle is calculated from total gravity vector.
But maybe this is not necessary to calculate total gravity vector using atan() function.
Angle can be calculated like this:
atan(X/Y)
This works for 2D purpose, I have to test it for real in 3D.
Currently, accelerometer angle is calculated from total gravity vector.
But maybe this is not necessary to calculate total gravity vector using
atan()function.Angle can be calculated like this:
atan(X/Y)This works for 2D purpose, I have to test it for real in 3D.