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

Apriltag measurement model #9

Merged
merged 28 commits into from
Nov 11, 2024
Merged

Conversation

henrygerardmoore
Copy link
Collaborator

@henrygerardmoore henrygerardmoore commented Nov 4, 2024

Adds an AprilTag measurement model and a tutorial using it. Also, tons of clang-tidy fixes for various source files I was looking at for reference.

@henrygerardmoore henrygerardmoore marked this pull request as ready for review November 6, 2024 00:30
Copy link
Collaborator

@bgill92 bgill92 left a comment

Choose a reason for hiding this comment

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

First pass

I think we should change the name of the sensor from Apriltag pose sensor to something else because this seems more generic than just an Apriltag pose sensor. I was thinking maybe Relative Pose sensor because we are using this to process pose measurements relative to some target frame. What do you think?

fuse_models/include/fuse_models/april_tag_pose.hpp Outdated Show resolved Hide resolved
fuse_models/src/april_tag_pose.cpp Outdated Show resolved Hide resolved
fuse_models/src/april_tag_pose.cpp Outdated Show resolved Hide resolved
fuse_models/src/april_tag_pose.cpp Outdated Show resolved Hide resolved
fuse_models/src/april_tag_pose.cpp Outdated Show resolved Hide resolved
fuse_tutorials/launch/fuse_apriltag_tutorial.launch.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@bgill92 bgill92 left a comment

Choose a reason for hiding this comment

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

Just a few more comments, but after this I think it looks good!

fuse_models/include/fuse_models/transform_sensor.hpp Outdated Show resolved Hide resolved
/**
* @brief Destructor
*/
virtual ~TransformSensor() = default;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reason why the destructor is virtual? This sorta implies that it is okay to derive from this class?

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, I think it is. I'm not 100% sure, but this is common across every fuse sensor in the repo.

Copy link
Collaborator

@bgill92 bgill92 left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏽

@henrygerardmoore henrygerardmoore merged commit 5182ec0 into main Nov 11, 2024
4 checks passed
@henrygerardmoore henrygerardmoore deleted the apriltag_measurement_model branch November 11, 2024 22:50
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