Use keyFormatter

release/4.3a0
Frank dellaert 2020-10-12 15:37:39 -04:00
parent 4adca52daa
commit 6909c2b2ac
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ namespace gtsam {
//***************************************************************************
void OrientedPlane3Factor::print(const string& s,
const KeyFormatter& keyFormatter) const {
cout << "OrientedPlane3Factor Factor on " << landmarkKey_ << "\n";
cout << "OrientedPlane3Factor Factor on " << keyFormatter(landmarkKey_) << "\n";
measured_p_.print("Measured Plane");
this->noiseModel_->print(" noise model: ");
}
@ -22,7 +22,7 @@ void OrientedPlane3Factor::print(const string& s,
//***************************************************************************
void OrientedPlane3DirectionPrior::print(const string& s,
const KeyFormatter& keyFormatter) const {
cout << "Prior Factor on " << landmarkKey_ << "\n";
cout << "Prior Factor on " << keyFormatter(landmarkKey_) << "\n";
measured_p_.print("Measured Plane");
this->noiseModel_->print(" noise model: ");
}