printing updates
parent
8496565d9d
commit
b9f6d67fc7
|
@ -34,7 +34,6 @@ void PreintegrationParams::print(const string& s) const {
|
||||||
<< endl;
|
<< endl;
|
||||||
if (omegaCoriolis && use2ndOrderCoriolis)
|
if (omegaCoriolis && use2ndOrderCoriolis)
|
||||||
cout << "Using 2nd-order Coriolis" << endl;
|
cout << "Using 2nd-order Coriolis" << endl;
|
||||||
if (body_P_sensor) body_P_sensor->print(" ");
|
|
||||||
cout << "n_gravity = (" << n_gravity.transpose() << ")" << endl;
|
cout << "n_gravity = (" << n_gravity.transpose() << ")" << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,9 @@ namespace gtsam {
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
/// print with optional string
|
/// print with optional string
|
||||||
void print(const std::string& s, const KeyFormatter& keyFormatter = DefaultKeyFormatter) const override {
|
void print(
|
||||||
|
const std::string& s = "",
|
||||||
|
const KeyFormatter& keyFormatter = DefaultKeyFormatter) const override {
|
||||||
std::cout << s << "BetweenFactor("
|
std::cout << s << "BetweenFactor("
|
||||||
<< keyFormatter(this->key1()) << ","
|
<< keyFormatter(this->key1()) << ","
|
||||||
<< keyFormatter(this->key2()) << ")\n";
|
<< keyFormatter(this->key2()) << ")\n";
|
||||||
|
|
Loading…
Reference in New Issue