diff --git a/gtsam/geometry/Rot3Q.cpp b/gtsam/geometry/Rot3Q.cpp index af5c3f526..e27fb792d 100644 --- a/gtsam/geometry/Rot3Q.cpp +++ b/gtsam/geometry/Rot3Q.cpp @@ -85,8 +85,7 @@ namespace gtsam { /* ************************************************************************* */ Rot3 Rot3::rodriguez(const Vector3& w, double theta) { -// TODO return QuaternionChart::Expmap(theta,w); - return Rot3(); + return Quaternion(Eigen::AngleAxis(theta, w)); } /* ************************************************************************* */