ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I figured out that before you publish PointCloud2 msg to ROS, you have to edit point cloud's header:
clusters.header.frame_id = "/camera_depth_frame";
clusters.header.stamp = ros::Time::now();