Skip to content

Conversation

@jlblancoc
Copy link
Member

See the example in the new unit test.
This allows progress reports, debugging, GUI updating, etc. during non-linear optimizers are running.

Note: this PR builds upon #585 .

@jlblancoc jlblancoc requested a review from dellaert November 8, 2020 11:01
Copy link
Contributor

@varunagrawal varunagrawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but requesting some minor updates.

@varunagrawal varunagrawal added enhancement Improvement to GTSAM feature New proposed feature labels Nov 11, 2020
Copy link
Contributor

@varunagrawal varunagrawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

* };
* \endcode
* or to the result of a properly-formed `std::bind` call.
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing!!!

boost::optional<Ordering> ordering; ///< The optional variable elimination ordering, or empty to use COLAMD (default: empty)
IterativeOptimizationParameters::shared_ptr iterativeParams; ///< The container for iterativeOptimization parameters. used in CG Solvers.

NonlinearOptimizerParams() = default;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember seeing a comment from @dellaert about having variables before constructors, so he'll be happy about this one. 😄

@varunagrawal
Copy link
Contributor

I believe the build is failing because Actions got rid of Boost 1.69 on Linux virtual environments, opting instead for 1.72. We already landed the PR to upgrade the workflows, but I guess this PR was created before that. I'll push a merge.

@jlblancoc
Copy link
Member Author

@dellaert Should we merge this one? Do you want to take a look first?

Copy link
Member

@dellaert dellaert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Feel free to merge

@varunagrawal varunagrawal merged commit 653c69f into develop Nov 18, 2020
@varunagrawal varunagrawal deleted the feature/lm-iteration-hook-impl branch November 18, 2020 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement to GTSAM feature New proposed feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants