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

Tutorial fixes and API change #15

Merged
merged 5 commits into from
Jan 10, 2025
Merged

Tutorial fixes and API change #15

merged 5 commits into from
Jan 10, 2025

Conversation

henrygerardmoore
Copy link
Collaborator

@henrygerardmoore henrygerardmoore commented Jan 7, 2025

This should fix fuse's tutorial (that I broke with recent API changes) and allows us to define a frame to use as the estimation frame. Thus, fuse won't try to estimate when it shouldn't be able to. Additionally, allows tfs to be defined in either 'direction' and automatically uses them how they should be used.

This will enable fuse to first transform from the april tag frame to some center of mass frame and estimate that frame.

@henrygerardmoore henrygerardmoore force-pushed the tutorial_fixes branch 4 times, most recently from 3eeff55 to 4ebe665 Compare January 9, 2025 20:42
@henrygerardmoore
Copy link
Collaborator Author

Can't figure out clang tidy on humble atm. I tried getting it to use clang-tidy-18 but for some reason can't get that installing in the dockerfile even though it works locally. For now, let's just ignore that and fix it later.

Copy link
Collaborator

@rlpratt12 rlpratt12 left a comment

Choose a reason for hiding this comment

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

Tutorial runs, code changes look good.

questions for my understanding:

  • where are these april_x tag transforms created? (eg, how does it know where they are w.r.t. the CoM?)
  • I assume deleted initializeStateEstimation() because you're just not using it? That wasn't related to this change right?

Co-authored-by: Richard Pratt <43280770+rlpratt12@users.noreply.github.com>
@henrygerardmoore
Copy link
Collaborator Author

@rlpratt12

  • where are these april_x tag transforms created? (eg, how does it know where they are w.r.t. the CoM?)

It's published in the apriltag_simulator.cpp file. They're just hardcoded in there. Stand-in for a state publisher or something was my intention.

  • I assume deleted initializeStateEstimation() because you're just not using it? That wasn't related to this change right?

Yep, exactly right.

@henrygerardmoore henrygerardmoore merged commit 53dcd67 into humble Jan 10, 2025
3 of 4 checks passed
@henrygerardmoore henrygerardmoore deleted the tutorial_fixes branch January 10, 2025 16:40
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