Transpose translation when printing

release/4.3a0
Frank dellaert 2020-08-19 16:30:27 -04:00
parent 8dfd8e8a76
commit a3ac89b0fb
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ boost::optional<Pose3> align(const vector<Point3Pair>& baPointPairs) {
std::ostream &operator<<(std::ostream &os, const Pose3& pose) {
// Both Rot3 and Point3 have ostream definitions so we use them.
os << "R: " << pose.rotation() << "\n";
os << "t: " << pose.translation();
os << "t: " << pose.translation().transpose();
return os;
}