pcl-ros datatype conversion
I'm trying to convert the Voxel grid filter to the ROS ecosystem. Instead of using 'pcl::PCLPointCloud2' data structure as given in the example code, I'm trying to use 'pcl::PointCloud<t>' data structure (as in Euclidean Cluster Extraction). However, I'm not able to find the API that converts pcl::PointCloud<t> to ROS message type.