ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The issue comes from your use of sensor_msgs::PointCloud2 inside the voxelgrid. It appears to only take a point. Try just a pcl::PointXYZ and run it.