3D Rotation Matrix

3D Rotation Matrix - 消息

#1 已发布: 2018/10/9 21:29:00
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

From: https://en.smath.info/forum/yaf_postsm54527_AlgLib-3-1x.aspx#post54527

Hi Ber7. Thanks for the angles, which gives this beatifull view point!

Wrote

Your error may be caused by the use of the left coordinate system in Smath- graphs.



Using SMath convention for axis it's very difficult to me, and also add the fact that in Latin America we use this as Euler angles:

https://es.wikipedia.org/wiki/%C3%81ngulos_de_Euler

Clipboard01.gif

In the attached, I can invert emulating the matlab robots toolbox's rotm2eul.m function, but notice that I need to swap the product order to get the same matrix with those angles that I obtain first.

Clipboard01.gif

So, I don't sure now if we are doing the rotations ok taking Ω1*Ω2*Ω3 or, for SMath, the correct order is Ω3*Ω2*Ω1, and this swap is the math meaning for "left coordinate system".

rotm2eul.sm (83.79 KiB)已下载 1247 次。

Best regards.
Alvaro.
3位用户喜欢此帖子
Fridel Selitsky 2018/10/9 22:51:00, sergio 2018/10/10 04:33:00, frapuano 2018/10/10 05:31:00
#2 已发布: 2018/10/10 14:53:22
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

So, I'm not sure now if we are doing the rotations ok taking Ω1*Ω2*Ω3 or, for SMath, the correct order is Ω3*Ω2*Ω1, and this swap is the math meaning for "left coordinate system".



Euler traditional [Roll, Pitch, Yaw] is not commutative once angles are defined.
Some 3D solids will show convenient in any of the possible 3! = 6 commutative.

Cheers ... Jean

Rotate Euler NOT Commutative.sm (16.33 KiB)已下载 1259 次。
2位用户喜欢此帖子
NDTM Amarasekera 2018/10/10 15:03:00, sergio 2018/10/10 17:32:00
  • 有新帖
  • 无新帖