Calculating angles from the rotation matrix

I computed rotation matrix from "[relativeOrientation,relativeLocation] = relativeCameraPose(M,cameraParams,inlierPoints1,inlierPoints2)", I don't know the order of rotation by which the rotation matrix is computed ('XYZ','XZY','ZYX','ZXY','YZX' or 'YXZ'). which order do I need to consider for computing rotation angles (I'm using "rotm2eul(rotation,'order')").

Respuestas (1)

KSSV
KSSV el 1 de Mzo. de 2017

0 votos

Read the documentation, they have discussed about the order. https://in.mathworks.com/help/robotics/ref/rotm2eul.html

1 comentario

If we know the order, then we can mention the order in "rotm2eul" to get the angles. My query is, what is the order of rotation, matlab is considering to calculate the rotation matrix with the function "relativeCameraPose".

Iniciar sesión para comentar.

Categorías

Más información sobre Interpolation en Centro de ayuda y File Exchange.

Preguntada:

el 1 de Mzo. de 2017

Comentada:

el 1 de Mzo. de 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by