Registered Member
|
Hello every one!
I'm pretty new to Eigen and I'v encountered some problems about quaternion slerp. I tried to convert Matrix3d to Quarterniond and then do the reverse ,but two matrix aren't equal! Here's my convertion code:
Then I cout those two matrix and they are not equal Is there anything wrong in my code ? Please Help! Best wishes ccjn |
Moderator
|
This is because Rt is a random matrix and thus it does not represent a rotation but in this case a general linear transformation which includes rotation, non-uniform scaling, and shearing. In this case the rotation represented by the quaternion is undefined.
|
Registered Member
|
Thank you very much ! I didn't get a clear understanding about rotation Matrix |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]