fix some more deprecation warnings
parent
ece5640133
commit
6f5e85664c
|
@ -144,7 +144,7 @@ public:
|
||||||
std::cout << e.what() << ": Landmark "<< DefaultKeyFormatter(this->template key<2>()) <<
|
std::cout << e.what() << ": Landmark "<< DefaultKeyFormatter(this->template key<2>()) <<
|
||||||
" moved behind camera " << DefaultKeyFormatter(this->template key<1>()) << std::endl;
|
" moved behind camera " << DefaultKeyFormatter(this->template key<1>()) << std::endl;
|
||||||
if (throwCheirality_)
|
if (throwCheirality_)
|
||||||
throw StereoCheiralityException(this->key2());
|
throw StereoCheiralityException(this->template key<2>());
|
||||||
}
|
}
|
||||||
return Vector3::Constant(2.0 * K_->fx());
|
return Vector3::Constant(2.0 * K_->fx());
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,8 @@ namespace gtsam {
|
||||||
void LocalOrientedPlane3Factor::print(const string& s,
|
void LocalOrientedPlane3Factor::print(const string& s,
|
||||||
const KeyFormatter& keyFormatter) const {
|
const KeyFormatter& keyFormatter) const {
|
||||||
cout << s << (s == "" ? "" : "\n");
|
cout << s << (s == "" ? "" : "\n");
|
||||||
cout << "LocalOrientedPlane3Factor Factor (" << keyFormatter(key1()) << ", "
|
cout << "LocalOrientedPlane3Factor Factor (" << keyFormatter(key<1>()) << ", "
|
||||||
<< keyFormatter(key2()) << ", " << keyFormatter(key3()) << ")\n";
|
<< keyFormatter(key<2>()) << ", " << keyFormatter(key<3>()) << ")\n";
|
||||||
measured_p_.print("Measured Plane");
|
measured_p_.print("Measured Plane");
|
||||||
this->noiseModel_->print(" noise model: ");
|
this->noiseModel_->print(" noise model: ");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue