better matrix printing without space wastage, fixed notation in comment
parent
b4eb0c233d
commit
b48456b871
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue