Merge pull request #276 from borglab/feature/matrix-printing

Better matrix printing
release/4.3a0
Frank Dellaert 2020-05-07 11:43:45 -04:00 committed by GitHub
commit 81c1783021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ public:
private:
Rot3 R_; ///< Rotation gRp, between global and pose frame
Point3 t_; ///< Translation gTp, from global origin to pose frame origin
Point3 t_; ///< Translation gPp, from global origin to pose frame origin
public:

View File

@ -1021,7 +1021,7 @@ TEST(Pose3, print) {
std::cout.rdbuf(oldbuf);
// Get substring corresponding to translation part
std::string actual = redirectStream.str().substr(47, 11);
std::string actual = redirectStream.str().substr(38, 11);
CHECK_EQUAL(expected.str(), actual);
}