Fixed missing print function in Rot3Q
parent
e42f8e5a35
commit
5b1fd32871
|
|
@ -62,6 +62,11 @@ namespace gtsam {
|
|||
/* ************************************************************************* */
|
||||
Rot3::Rot3(const Quaternion& q) : quaternion_(q) {}
|
||||
|
||||
/* ************************************************************************* */
|
||||
void Rot3::print(const std::string& s) const {
|
||||
gtsam::print((Matrix)matrix(), s);
|
||||
}
|
||||
|
||||
/* ************************************************************************* */
|
||||
Rot3 Rot3::Rx(double t) { return Quaternion(Eigen::AngleAxisd(t, Eigen::Vector3d::UnitX())); }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue