문제

I have a 3*3 rotation matrix R. Now, it is possible to solve this rotation matrix to get the euler angles of the rotation matrix. (https://truesculpt.googlecode.com/hg-history/38000e9dfece971460473d5788c235fbbe82f31b/Doc/rotation_matrix_to_euler.pdf)

Now, Suppose I have a situation where I use the rotation matrix for rotating a body about an axis. Now, For each infinitesimal rotation, I solve the rotation matrix for its euler angles sets. Since There multiple sets (2 in reality) of euler angles come up as solutions, how do I ensure (in code) that I pick the euler angle set such that the rotation of the body is continuous?

도움이 되었습니까?

해결책

What i have read, euler angles are not well suited for interpolation.
Use Quarternions instead, at least for the interpolation (transition).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top