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

Some Hybrid iSAM cleanup #1883

Merged
merged 3 commits into from
Oct 23, 2024
Merged

Some Hybrid iSAM cleanup #1883

merged 3 commits into from
Oct 23, 2024

Conversation

dellaert
Copy link
Member

@dellaert dellaert commented Oct 23, 2024

  • some naming conventions and spelling
  • Made a more robust interface to Switching
  • changed HybridGaussianISAM tests to reuse update graphs
  • kept HybridNonlinearISAM tests the same but modernized them a bit
  • in both cases, kept some regression but made tests have real teeth
  • Added chain factors in testHybridEstimation

PS, ISAM test in latter produces BayesTrees like this, which seems right:

image

@dellaert dellaert changed the title Some iSAM cleanup Some Hybrid iSAM cleanup Oct 23, 2024
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.

2 comments but LGTM

gtsam/hybrid/tests/Switching.h Show resolved Hide resolved
gtsam/hybrid/tests/testHybridGaussianISAM.cpp Show resolved Hide resolved
Base automatically changed from feature/no_conditionals to develop October 23, 2024 17:36
@dellaert dellaert merged commit 0ffe6c9 into develop Oct 23, 2024
33 checks passed
@dellaert dellaert deleted the feature/hybridISAM branch October 23, 2024 17:36
// TODO(Varun) Relinearization doesn't take into account pruning
reorder_relinearize();
// TODO(Varun) Re-linearization doesn't take into account pruning
reorderRelinearize();
Copy link
Collaborator

Choose a reason for hiding this comment

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

PS this name came from NonlinearISAM (the continuous only version).

Copy link
Collaborator

Choose a reason for hiding this comment

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

It's NonlinearISAM::reorder_relinearize there which is why we kept the same name.

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

Successfully merging this pull request may close these issues.

2 participants