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

Updates to City10000 Example #2010

Draft
wants to merge 33 commits into
base: develop
Choose a base branch
from
Draft

Updates to City10000 Example #2010

wants to merge 33 commits into from

Conversation

varunagrawal
Copy link
Collaborator

@varunagrawal varunagrawal commented Jan 28, 2025

Improved script for inference on the City10000 dataset.

  1. Added loop closure factors.
  2. Timing information
  3. Results for 3000 timesteps
  4. Scale discrete factors so we don't get all 0s.
  5. Various other bug fixes.

@@ -222,6 +222,8 @@ namespace gtsam {
// sum out frontals, this is the factor on the separator
gttic(sum);
DiscreteFactor::shared_ptr sum = product->sum(frontalKeys);
// Normalize/scale to prevent underflow.
Copy link
Member

Choose a reason for hiding this comment

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

Ok, this is now wrong again, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, give me a minute.


auto f0 = std::make_shared<BetweenFactor<Pose2>>(
X(key_s), X(key_t), measurement,
noiseModel::Diagonal::Sigmas(Vector3::Ones() * 10));
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@dellaert this was the change. I updated it from 100 to 10.

@dellaert dellaert closed this Jan 30, 2025
@varunagrawal varunagrawal reopened this Jan 30, 2025
@varunagrawal varunagrawal changed the title Hybrid City10000 Working Example Updates to City10000 Example Feb 1, 2025
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