ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You need to advertise the PointCloud templated on the Point type, not just the point type.
Something like:
point_cloud_pcl_publisher_ = n.advertise<pcl::PointCloud<pcl::PointXYZ> > ("/cloud_pcl", 100);