I'am working with Madgwick algorithm who gives me a Quaternions for accelerometer and gyro.
So I can get the angle from q0 with this formula 2 * acors(q0)
it's works I've tried and I got the good value. But now I don't understand how can I know for x or y has rotate to x° because I have only one angle with Quaternion.
For example imagine I have this Quaternion q0 to q3 {0,71, 0,18, -0,65, 0.30}
, so for q0 equals to 0.71 I have an angle to 90°. but in my example x and y are different, so how can I know x is 90° and y is 20° for example, is it possible without using Euler angle?
I've tried this formula for x q1/sin(angle/2)
but the result doesn't convince me....