ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I have figured it out thanks to joq's comment. In the /velodyne/velodyne_pointcloud/include/velodyne_pointcloud there is a header file point_types.h. If you are writing a subscribe for velodyne_point you will need to include this header file so pcl_converter is able to interpret the topic and convert is to pcl::pointcloud. The callback function of the subscriber will do the conversion on the fly as it receives velodyne_point.