Convert a SE3 matrix to Eigen::Matrixf matrix? #440
-
Hi, Is there a method built into Sophus library that converts a SE3 matrix from Sophus to Eigen::Matrixf? For computing Frobenius norm, I was thinking of converting a 4x4 SE3 matrix into an Eigen equivalent for being able to use Eigen's JacobiSVD class for computing singular values and from them, the Frobenius norm. With best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Sophus stores an SE3 element as quaternion and translation vector, but you can get the corresponding 4x4 transformation matrix with the Lines 263 to 279 in caf27cf |
Beta Was this translation helpful? Give feedback.
Sophus stores an SE3 element as quaternion and translation vector, but you can get the corresponding 4x4 transformation matrix with the
.matrix()
member function:Sophus/sophus/se3.hpp
Lines 263 to 279 in caf27cf