Use new key version in Barometric

release/4.3a0
Gerry Chen 2022-12-22 23:13:30 -05:00
parent e5ec007185
commit 581c2d5ebd
No known key found for this signature in database
GPG Key ID: E9845092D3A57286
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ namespace gtsam {
void BarometricFactor::print(const string& s, void BarometricFactor::print(const string& s,
const KeyFormatter& keyFormatter) const { const KeyFormatter& keyFormatter) const {
cout << (s.empty() ? "" : s + " ") << "Barometric Factor on " cout << (s.empty() ? "" : s + " ") << "Barometric Factor on "
<< keyFormatter(key1()) << "Barometric Bias on " << keyFormatter(key<1>()) << "Barometric Bias on "
<< keyFormatter(key2()) << "\n"; << keyFormatter(key<2>()) << "\n";
cout << " Baro measurement: " << nT_ << "\n"; cout << " Baro measurement: " << nT_ << "\n";
noiseModel_->print(" noise model: "); noiseModel_->print(" noise model: ");