ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

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