Conversion between quaternions and Euler angles: Difference between revisions

Content deleted Content added
Quaternion to Euler angles (in 3-2-1 sequence) conversion: The reason for using atan2 was confused with irrelevant stuff
Undid revision 1120752602 by R0uge (talk): meaningless
Tags: Undo Reverted
Line 2:
 
==Definition==
For the rest of this article, the "passive" [[JPL]] [[quaternion]] convention<ref>W. G. Breckenridge, "Quaternions proposed standard conventions," NASA Jet Propulsion Laboratory, Technical Report, Oct. 1979.</ref> shall be used. A unit [[quaternion]] can be described as:
:<math>\mathbf{q} = \begin{bmatrix} q_0 & q_1 & q_2 & q_3 \end{bmatrix}^T = \begin{bmatrix} q_w & q_x & q_y & q_z \end{bmatrix}^T</math>
:<math>|\mathbf{q}|^2 = q_0^2 + q_1^2 + q_2^2 + q_3^2 = q_w^2 + q_x^2 + q_y^2 + q_z^2 = 1</math>