commit
81c1783021
|
|
@ -144,10 +144,10 @@ void print(const Matrix& A, const string &s, ostream& stream) {
|
||||||
0, // flags
|
0, // flags
|
||||||
", ", // coeffSeparator
|
", ", // coeffSeparator
|
||||||
";\n", // rowSeparator
|
";\n", // rowSeparator
|
||||||
" \t", // rowPrefix
|
"\t", // rowPrefix
|
||||||
"", // rowSuffix
|
"", // rowSuffix
|
||||||
"[\n", // matPrefix
|
"[\n", // matPrefix
|
||||||
"\n ]" // matSuffix
|
"\n]" // matSuffix
|
||||||
);
|
);
|
||||||
cout << s << A.format(matlab) << endl;
|
cout << s << A.format(matlab) << endl;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ public:
|
||||||
private:
|
private:
|
||||||
|
|
||||||
Rot3 R_; ///< Rotation gRp, between global and pose frame
|
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:
|
public:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1021,7 +1021,7 @@ TEST(Pose3, print) {
|
||||||
std::cout.rdbuf(oldbuf);
|
std::cout.rdbuf(oldbuf);
|
||||||
|
|
||||||
// Get substring corresponding to translation part
|
// 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);
|
CHECK_EQUAL(expected.str(), actual);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue