[Physics] Derivation of yaw, pitch, roll equations for an accelerometer

newtonian-mechanicsresource-recommendationsrotationrotational-kinematics

I'm struggling to find a good resource that explains how roll, pitch, yaw angles are calculated from the X, Y, Z measurements of an accelerometer.
I came across this document
but the explanation on page 9 is still very sparse. In particular, I'm unable to understand the following 2 lines:

The accelerometer vector lies on the surface of a sphere with radius 1g. It is not therefore possible to solve for three unique values of the roll φ, pitch θ and yaw ψ angles.

Suggestion for a good book or web resource would be much appreciated.

Best Answer

Eqn 25 comes from Eqn 24

$$\tan \phi = \frac{\cos \theta \sin \phi}{\cos \theta \cos \phi} = \frac{G_{py}}{G_{pz}}$$

Eqn 26 is similar. But note that

$$G_{py}^2 + G_{pz}^2 = \cos^2 \theta \times (\sin^2 \phi + \cos^2 \phi) = \cos^2 \theta$$

Related Question