Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap additional ISAM2 methods #941

Merged
merged 11 commits into from
Nov 30, 2021
18 changes: 18 additions & 0 deletions gtsam/nonlinear/nonlinear.i
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,16 @@ class ISAM2GaussNewtonParams {
void setWildfireThreshold(double wildfireThreshold);
};

// class ISAM2LevenbergMarquardtParams {
// ISAM2LevenbergMarquardtParams();

// void print(string s = "") const;

// /** Getters and Setters for all properties */
// double getWildfireThreshold() const;
// void setWildfireThreshold(double wildfireThreshold);
// };

class ISAM2DoglegParams {
ISAM2DoglegParams();

Expand Down Expand Up @@ -738,7 +748,15 @@ class ISAM2 {
const gtsam::KeyList& extraReelimKeys,
bool force_relinearize);

// void marginalizeLeaves(
// const gtsam::KeyList& leafKeys,
// boost::optional<gtsam::FactorIndices&> marginalFactorIndices =
// boost::none,
// boost::optional<gtsam::FactorIndices&> deletedFactorsIndices =
// boost::none);

gtsam::Values getLinearizationPoint() const;
bool valueExists(gtsam::Key key) const;
gtsam::Values calculateEstimate() const;
template <VALUE = {gtsam::Point2, gtsam::Rot2, gtsam::Pose2, gtsam::Point3,
gtsam::Rot3, gtsam::Pose3, gtsam::Cal3_S2, gtsam::Cal3DS2,
Expand Down