Skip to content

Commit

Permalink
Merge pull request #842 from borglab/fix/missing-visual-factor-getter
Browse files Browse the repository at this point in the history
Add missing getter in ProjectionFactor
  • Loading branch information
varunagrawal authored Aug 11, 2021
2 parents 41c8268 + 570a44b commit f7ef6f7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gtsam/slam/ProjectionFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_; }

Expand Down

0 comments on commit f7ef6f7

Please sign in to comment.