Registered Member
|
The documentation says that I should be able to convert a rotation matrix to a Rotation2D with the idiom:
I tried to copy a matrix to a rotation as stated in the docs. I got a compiler error.
I'm including Eigen/Dense and Eigen/Geometry. Is there something else I'm missing? |
Moderator
|
Indeed, the doc seems to be wrong. You currently have to write rot.fromRotationMatrix(mat2x2);
|
Moderator
|
Added in devel branch: https://bitbucket.org/eigen/eigen/commits/3f16d8b94c03/
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]