Merge pull request #842 from borglab/fix/missing-visual-factor-getter

Add missing getter in ProjectionFactor
release/4.3a0
Varun Agrawal 2021-08-11 07:17:57 -07:00 committed by GitHub
commit f7ef6f7037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -164,10 +164,15 @@ namespace gtsam {
}
/** return the calibration object */
inline const boost::shared_ptr<CALIBRATION> calibration() const {
const boost::shared_ptr<CALIBRATION> calibration() const {
return K_;
}
/** return the (optional) sensor pose with respect to the vehicle frame */
const boost::optional<POSE>& body_P_sensor() const {
return body_P_sensor_;
}
/** return verbosity */
inline bool verboseCheirality() const { return verboseCheirality_; }