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

City1000 script #2014

Merged
merged 30 commits into from
Jan 31, 2025
Merged

City1000 script #2014

merged 30 commits into from
Jan 31, 2025

Conversation

dellaert
Copy link
Member

@dellaert dellaert commented Jan 30, 2025

...and associated changes

New ordering optimizes 3000 iterations in 63 seconds (vs 147).

@dellaert
Copy link
Member Author

@varunagrawal these tests are failing, I think related to the TableFactor. Tell me how to fix?

The following tests FAILED:
	 96 - testGaussianMixture (SEGFAULT)
	 98 - testHybridBayesTree (SEGFAULT)
	100 - testHybridEstimation (SEGFAULT)
	104 - testHybridGaussianFactorGraph (Failed)
	105 - testHybridGaussianISAM (SEGFAULT)
	107 - testHybridMotionModel (SEGFAULT)
	109 - testHybridNonlinearFactorGraph (SEGFAULT)
	110 - testHybridNonlinearISAM (SEGFAULT)

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.

LGTM with some comments.
I assume we'll remove all the comments to de-clog the output?

gtsam/hybrid/HybridSmoother.cpp Outdated Show resolved Hide resolved
namespace gtsam {

/* ************************************************************************* */
Ordering HybridSmoother::getOrdering(const HybridGaussianFactorGraph &factors,
const KeySet &newFactorKeys) {
const KeySet &continuousKeys) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

continuousKeys can have keys involved in discrete factors as well, which is why we run the check on line 38.

gtsam/hybrid/HybridSmoother.cpp Show resolved Hide resolved
gtsam/hybrid/HybridSmoother.cpp Show resolved Hide resolved
@varunagrawal
Copy link
Collaborator

@varunagrawal these tests are failing, I think related to the TableFactor. Tell me how to fix?

The following tests FAILED:
	 96 - testGaussianMixture (SEGFAULT)
	 98 - testHybridBayesTree (SEGFAULT)
	100 - testHybridEstimation (SEGFAULT)
	104 - testHybridGaussianFactorGraph (Failed)
	105 - testHybridGaussianISAM (SEGFAULT)
	107 - testHybridMotionModel (SEGFAULT)
	109 - testHybridNonlinearFactorGraph (SEGFAULT)
	110 - testHybridNonlinearISAM (SEGFAULT)

In HybridGaussianFactorGraph.cpp, update

- #define GTSAM_HYBRID_WITH_TABLEFACTOR 0
+ #define GTSAM_HYBRID_WITH_TABLEFACTOR 1

@dellaert dellaert merged commit 0d4b0d7 into develop Jan 31, 2025
35 checks passed
@varunagrawal varunagrawal deleted the feature/new_city10000 branch January 31, 2025 13:26
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