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')").

Réponses (1)

KSSV
KSSV le 1 Mar 2017

0 votes

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

1 commentaire

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".

Connectez-vous pour commenter.

Catégories

En savoir plus sur Interpolation dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by