Skip to content

Commit

Permalink
Use new key version in Barometric
Browse files Browse the repository at this point in the history
  • Loading branch information
gchenfc committed Dec 23, 2022
1 parent e5ec007 commit 581c2d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtsam/navigation/BarometricFactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ namespace gtsam {
void BarometricFactor::print(const string& s,
const KeyFormatter& keyFormatter) const {
cout << (s.empty() ? "" : s + " ") << "Barometric Factor on "
<< keyFormatter(key1()) << "Barometric Bias on "
<< keyFormatter(key2()) << "\n";
<< keyFormatter(key<1>()) << "Barometric Bias on "
<< keyFormatter(key<2>()) << "\n";

cout << " Baro measurement: " << nT_ << "\n";
noiseModel_->print(" noise model: ");
Expand Down

0 comments on commit 581c2d5

Please sign in to comment.