3D Rotation Matrix

3D Rotation Matrix - Сообщения

#1 Опубликовано: 09.10.2018 21:29:00
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1674 понравились пользователям.

Группа: 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 КиБ) скачан 50 раз(а).

Best regards.
Alvaro.
3 пользователям понравился этот пост
Fridel Selitsky 09.10.2018 22:51:00, sergio 10.10.2018 04:33:00, frapuano 10.10.2018 05:31:00
#2 Опубликовано: 10.10.2018 14:53:22
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 58 раз(а).
2 пользователям понравился этот пост
NDTM Amarasekera 10.10.2018 15:03:00, sergio 10.10.2018 17:32:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений