From 23d91265d6ea20cdedb6c6a1b270fdf5e4660b3e Mon Sep 17 00:00:00 2001 From: Jared Swift Date: Mon, 19 Feb 2024 10:33:27 +0000 Subject: [PATCH] Correct stamp. --- common/vision/lasr_vision_yolov8/src/lasr_vision_yolov8/yolo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/vision/lasr_vision_yolov8/src/lasr_vision_yolov8/yolo.py b/common/vision/lasr_vision_yolov8/src/lasr_vision_yolov8/yolo.py index 06d87f2b..09616bec 100644 --- a/common/vision/lasr_vision_yolov8/src/lasr_vision_yolov8/yolo.py +++ b/common/vision/lasr_vision_yolov8/src/lasr_vision_yolov8/yolo.py @@ -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