-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support on-camera apriltag detections #46
base: feature/remote_head_support
Are you sure you want to change the base?
Support on-camera apriltag detections #46
Conversation
carnegierobotics#42) * Properly handle the full translation between left/aux rectified images * Fix aux projection logic * Add helper functions to prevent locking
# Apriltag corner point in pixels | ||
float64 x | ||
float64 y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a sensor_msg which has this data?
# The family of the tag | ||
string family | ||
|
||
# The ID of the tag | ||
uint32 id | ||
|
||
# The hamming distance between the detection and the real code | ||
uint8 hamming | ||
|
||
# The quality/confidence of the binary decoding process | ||
# average difference between intensity of data bit vs decision thresh. | ||
# Higher is better. Only useful for small tags | ||
float32 decisionMargin | ||
|
||
# The 3x3 homography matrix (in row-major order) describing the projection | ||
# from an "ideal" tag (with corners at (-1,1), (1,1), (1,-1), and (-1,-1)) | ||
# to pixels in the image | ||
float64[9] tagToImageHomography | ||
|
||
# The 2D position of the origin of the tag in the image | ||
float64[2] center | ||
|
||
# The 4 tag corner pixel locations in the order: | ||
# point 0: [-squareLength / 2, squareLength / 2] | ||
# point 1: [ squareLength / 2, squareLength / 2] | ||
# point 2: [ squareLength / 2, -squareLength / 2] | ||
# point 3: [-squareLength / 2, -squareLength / 2] | ||
AprilTagCornerPoint[4] corners |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a standard AprilTag message we can use here? Haven't done really any digging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I would make sure to sync with @QuentinTorg before landing since this will almost certainly conflict with his dynamic reconfigure work.
Stacked behind #44
Source_AprilTag_Detections
is not available on the camera)