3D Rotation Matrix

3D Rotation Matrix - Poruke

#1 Objavljeno: 9. 10. 2018. 21:29:00
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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) preuzeto 1262 put(ova).

Best regards.
Alvaro.
3 korisnika je svidelo ovu objavu
Fridel Selitsky 9. 10. 2018. 22:51:00, sergio 10. 10. 2018. 04:33:00, frapuano 10. 10. 2018. 05:31:00
#2 Objavljeno: 10. 10. 2018. 14:53:22
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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) preuzeto 1276 put(ova).
2 korisnika je svidelo ovu objavu
NDTM Amarasekera 10. 10. 2018. 15:03:00, sergio 10. 10. 2018. 17:32:00
  • Novi postovi
  • Nema novih postova