Convert quaternions : LUSENET : quaternions : One Thread

Hi. How can I convert quaternions in Euler angles (roll, pitch and yaw) around X,Y and Z axes

-- Marko Vrh (, September 22, 2004


Hello Marko:

I don't think you _should_ do this. Everyone flying rockets uses quaternions for 3D rotations in their software for two reasons: it avoid bogus poles where the transformations lock up, and errors that appear in the rotation matrix due to limits on computational precision can be more easily managed (make that matrix unitary again).

There is no universal Euler matrix. Instead there are many different conventions used. You will have to look over the details carefully. I would consult this paper to address your question:

Good luck, doug

-- Doug Sweetser (, November 28, 2004.

Moderation questions? read the FAQ