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)); } }