Skip to content

Commit

Permalink
copy header into Detection2D items
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasw committed May 31, 2024
1 parent f5b8009 commit ec23167
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aruco_detect/src/aruco_detect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ void FiducialsNode::poseEstimateCallback(const FiducialArrayConstPtr & msg)
tf2::Quaternion q;
if (vis_msgs) {
vision_msgs::Detection2D vm;
vm.header = vma.header;
vision_msgs::ObjectHypothesisWithPose vmh;
vmh.id = ids[i];
vmh.score = exp(-2 * object_error); // [0, infinity] -> [1,0]
Expand Down

0 comments on commit ec23167

Please sign in to comment.