Skip to content

Commit

Permalink
Correct stamp.
Browse files Browse the repository at this point in the history
  • Loading branch information
jws-1 committed Feb 19, 2024
1 parent e63dbd9 commit 23d9126
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def detect_3d(

point = Point(*np.nanmean(xyz_points, axis=0))
point_stamped = PointStamped()
point_stamped.header.stamp = rospy.Time.now()
point_stamped.point = point
point_stamped.header.frame_id = request.pcl.header.frame_id
detection.point = tf_buffer.transform(point_stamped, "map").point

Expand Down

0 comments on commit 23d9126

Please sign in to comment.