3D Rotation Matrix

3D Rotation Matrix - Messages

#1 Posted: 2018/10/9 21:29:00
Alvaro

Alvaro

1,078 likes in 1,749 posts.

Group: 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) downloaded 629 time(s).

Best regards.
Alvaro.
3 users liked this post
Fridel Selitsky 2018/10/9 22:51:00, sergio 2018/10/10 04:33:00, frapuano 2018/10/10 05:31:00
#2 Posted: 2018/10/10 14:53:22
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: 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) downloaded 661 time(s).
2 users liked this post
NDTM Amarasekera 2018/10/10 15:03:00, sergio 2018/10/10 17:32:00
  • New Posts
  • No New Posts