commit
81c1783021
|
|
@ -144,10 +144,10 @@ void print(const Matrix& A, const string &s, ostream& stream) {
|
|||
0, // flags
|
||||
", ", // coeffSeparator
|
||||
";\n", // rowSeparator
|
||||
" \t", // rowPrefix
|
||||
"\t", // rowPrefix
|
||||
"", // rowSuffix
|
||||
"[\n", // matPrefix
|
||||
"\n ]" // matSuffix
|
||||
"\n]" // matSuffix
|
||||
);
|
||||
cout << s << A.format(matlab) << endl;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue