Euler Angles, Quaternions & Co.

Euler Angles, Quaternions & Co. - mb10 - Messages

#1 Posted: 8/31/2013 3:30:05 AM
mb10

mb10

9 likes in 20 posts.

Group: User

Attached is a file with formulas for 3D rotations transformations.
It can be used as a "snippet" (copy it in the "snippets" folder).

Currently supported conversions:
Euler angles to quaternions
Quaternions to rotation matrix
Euler angles to rotation matrix
Angle & vector to rotation matrix
Angle & vector to quaternions
Quaternions to Euler angles
Quaternions to angle & vector
Rotation Matrix to quaternions


For those unfamiliar on the matter, a comprehensive article is found here:
Review of Attitude Representations



Rotation Examples.sm (98 KiB) downloaded 190 time(s).
2 users liked this post
ioan92 9/2/2013 8:11:00 AM, Davide Carpi 9/2/2013 2:09:00 PM
#2 Posted: 9/2/2013 10:56:36 AM
mb10

mb10

9 likes in 20 posts.

Group: User

Thank you very much for your comments.

Wrote


For practical wider interest, please include, if possible, also the "Euler–Rodrigues Quaternion Formulation".


The AngVec2Quat and Quat2AngVec functions are intended to perform Euler-Rodriguez to Quaternion conversion and vice-versa, respectively: i.e. the Angle-Vector parameters correspond to the Euler-Rodriguez representation of rotations.

Best regards,

massimo

1 users liked this post
ioan92 9/2/2013 11:02:00 AM
  • New Posts New Posts
  • No New Posts No New Posts