Euler Angles, Quaternions & Co.

Euler Angles, Quaternions & Co. - mb10 - 消息

#1 已发布: 2013/8/31 03:30:05
mb10

mb10

9个赞,共20个帖子。

组: 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.86 KiB)已下载 1765 次。
2位用户喜欢此帖子
ioan92 2013/9/2 08:11:00, Davide Carpi 2013/9/2 14:09:00
#2 已发布: 2013/9/2 10:56:36
mb10

mb10

9个赞,共20个帖子。

组: 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位用户喜欢此帖子
ioan92 2013/9/2 11:02:00
  • 有新帖
  • 无新帖