pele.utils.rotations.mx2q

pele.utils.rotations.mx2q(mi)[source]

convert a rotation matrix to a quaternion

see discussion at http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/

Previous topic

pele.utils.rotations.q2mx

Next topic

pele.utils.rotations.mx2aa