MIT-SPARK / Kimera-RPGO

Robust Pose Graph Optimization
BSD 2-Clause "Simplified" License
474 stars 133 forks source link

Deprecated GTSAM calls #39

Closed ToniRV closed 3 years ago

ToniRV commented 5 years ago
/home/tonirv/Code/RobustPGO/KimeraRPGO/utils/geometry_utils.h:224:28: error: ‘const class gtsam::BetweenFactor<gtsam::Pose3>’ has no member named ‘get_noiseModel’; did you mean ‘noiseModel’?
             between_factor.get_noiseModel())

Had to enable GTSAM_ALLOW_DEPRECATED_SINCE_V4 to fix this issue. Would be great to move completely to V4 though...

Z-Jeff commented 2 years ago

Could you explain how to enable GTSAM_ALLOW_DEPRECATED_SINCE_V4 in detail? Thank you.

yunzc commented 2 years ago

@Z-Jeff I believe we not longer need to enable the GTSAM_ALLOW_DEPRECATED_SINCE_V4 flag in GTSAM.