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 件のコメント

Ramakrishna Kannoju
Ramakrishna Kannoju 2017 年 3 月 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 ExchangeInterpolation についてさらに検索

質問済み:

2017 年 3 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by