SMath Studio Forum
»
SMath Studio
»
Samples
»
Euler Angles, Quaternions & Co.
Rank: Member Groups: Registered
Joined: 27/08/2013(UTC) Posts: 19 Was thanked: 9 time(s) in 5 post(s)
|
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 quaternionsFor those unfamiliar on the matter, a comprehensive article is found here: Review of Attitude Representations
|
2 users thanked mb10 for this useful post.
|
on 02/09/2013(UTC), on 02/09/2013(UTC)
|
|
Rank: Member Groups: Registered
Joined: 27/08/2013(UTC) Posts: 19 Was thanked: 9 time(s) in 5 post(s)
|
Thank you very much for your comments. Originally Posted by: ioan92 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 user thanked mb10 for this useful post.
|
|
|
SMath Studio Forum
»
SMath Studio
»
Samples
»
Euler Angles, Quaternions & Co.
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.