Re: Attiude with quaternions



See:

http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToEuler/
.