From a187f423790d1b4a086f4a47490a286f96fe4a92 Mon Sep 17 00:00:00 2001 From: SamerKhshiboun Date: Mon, 5 Feb 2024 08:58:51 +0000 Subject: [PATCH] fix lpcl topic name to include camera name and camera namespace --- realsense2_camera/src/rs_node_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realsense2_camera/src/rs_node_setup.cpp b/realsense2_camera/src/rs_node_setup.cpp index 58bc1dd6e4..5d676b5032 100755 --- a/realsense2_camera/src/rs_node_setup.cpp +++ b/realsense2_camera/src/rs_node_setup.cpp @@ -279,7 +279,7 @@ void BaseRealSenseNode::startPublishers(const std::vector& profi // special handling for labeled point cloud stream, since it a topic of PointCloud messages // and not a normal image publisher - _labeled_pointcloud_publisher = _node.create_publisher("labeled_point_cloud/points", + _labeled_pointcloud_publisher = _node.create_publisher("~/labeled_point_cloud/points", rclcpp::QoS(rclcpp::QoSInitialization::from_rmw(qos),qos)); } }