Transpose translation when printing
parent
8dfd8e8a76
commit
a3ac89b0fb
|
@ -430,7 +430,7 @@ boost::optional<Pose3> align(const vector<Point3Pair>& baPointPairs) {
|
||||||
std::ostream &operator<<(std::ostream &os, const Pose3& pose) {
|
std::ostream &operator<<(std::ostream &os, const Pose3& pose) {
|
||||||
// Both Rot3 and Point3 have ostream definitions so we use them.
|
// Both Rot3 and Point3 have ostream definitions so we use them.
|
||||||
os << "R: " << pose.rotation() << "\n";
|
os << "R: " << pose.rotation() << "\n";
|
||||||
os << "t: " << pose.translation();
|
os << "t: " << pose.translation().transpose();
|
||||||
return os;
|
return os;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue