I have a conversion from a rotation vector to a rotation matrix by:
Eigen::Vector3d rotVec(-0.67925191, -1.35850382, -2.03775573);
Eigen::AngleAxisd rotAA(rotVec.norm(), rotVec.normalized());
Eigen::Matrix3d rotationMatrix = rotAA.matrix();
Then I want to do the reverse conversion from matrix to the vector and what I do is:
Eigen::AngleAxisd rotvec2(rotationMatrix);
yet, I have not been able to convert Eigen::AngleAxisd back to Eigen::Vector3d and the AngleAxisd itself seems to only have an angle and axis member function.
Does anyone know how we can do this?