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

Fix/gnc optimizer #1035

Merged
merged 10 commits into from
Jul 7, 2022
Merged

Fix/gnc optimizer #1035

merged 10 commits into from
Jul 7, 2022

Conversation

lucacarlone
Copy link
Contributor

@lucacarlone lucacarlone commented Jan 13, 2022

  • fixed corner cases in which mu = 0 or weights become negative
  • improved verbosity handling
  • added clone function to support PoseToPointFactor

@lucacarlone lucacarlone added the wip This is still a work in progress label Jan 13, 2022
Copy link
Collaborator

@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.

Two small comments but otherwise LGTM!

@@ -190,13 +193,14 @@ Point3 triangulateNonlinear(const std::vector<Pose3>& poses,
template<class CAMERA>
Point3 triangulateNonlinear(
const CameraSet<CAMERA>& cameras,
const typename CAMERA::MeasurementVector& measurements, const Point3& initialEstimate) {
const typename CAMERA::MeasurementVector& measurements, const Point3& initialEstimate,
const SharedNoiseModel& model = nullptr) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Even these top-level methods can take the same default maybe?

@lucacarlone lucacarlone added enhancement Improvement to GTSAM and removed wip This is still a work in progress labels Jul 2, 2022
@varunagrawal
Copy link
Collaborator

@lucacarlone I am merging this in!

@varunagrawal varunagrawal merged commit d12dd55 into develop Jul 7, 2022
@varunagrawal varunagrawal deleted the fix/gncOptimizer branch July 7, 2022 19:28
@lucacarlone
Copy link
Contributor Author

yay! thanks @varunagrawal !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to GTSAM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants