Skip to content

Commit

Permalink
Add image source to tag detections
Browse files Browse the repository at this point in the history
  • Loading branch information
davidirobinson committed Jun 24, 2022
1 parent f40dbbe commit 1ee0621
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions multisense_ros/msg/AprilTagDetectionArray.msg
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
std_msgs/Header header

# The frame ID of the image that the apriltags were detected on
int64 frameId

# The frame timestamp (nanoseconds) of the image that the apriltags were detected on
int64 timestamp

# The image source that the apriltags were detected on
string imageSource

# Success flag to indicate whether for the apriltag algorithm ran successfully
uint8 success

Expand Down
2 changes: 1 addition & 1 deletion multisense_ros/src/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2124,7 +2124,7 @@ void Camera::apriltagCallback(const apriltag::Header& header)
tag_detection_array.header.seq = static_cast<uint32_t>(header.frameId);
tag_detection_array.header.stamp = ros_time;
tag_detection_array.header.frame_id = frame_id_rectified_left_;
tag_detection_array.frameId = header.frameId;
tag_detection_array.imageSource = header.imageSource;
tag_detection_array.timestamp = header.timestamp;
tag_detection_array.success = header.success;
tag_detection_array.numDetections = header.numDetections;
Expand Down

0 comments on commit 1ee0621

Please sign in to comment.