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

답변 (1개)

KSSV
KSSV 2017년 3월 1일

0 개 추천

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

댓글 수: 1

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

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Interpolation에 대해 자세히 알아보기

질문:

2017년 3월 1일

댓글:

2017년 3월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by