Conversion between quaternions and Euler angles: Difference between revisions

Content deleted Content added
small estetic fixes
Line 11:
* Roll - <math>\phi</math>: rotation about the X-axis
* Pitch - <math>\theta</math>: rotation about the Y-axis
* Yaw - <math>\psi</math>: rotation about the Z-axis
where the X-axis points forward, Y-axis to the right and Z-axis downward
 
Line 22:
\end{bmatrix}</math>
 
The [[orthogonal matrix]] corresponding to a rotation with Euler angles <math>\phi, \theta \, and\, \psi</math>, is given by
:<math>\begin{bmatrix}
cos\theta cos\psi & -cos\phi sin\psi + sin\phi sin\theta cos\psi & sin\phi sin\psi + cos\phi sin\theta cos\psi \\