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

pcl-ros datatype conversion

asked 2014-08-22 08:59:46 -0500

pnambiar gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-22 09:03:32 -0500

paulbovbel gravatar image

You will find that the VoxelGrid filter is already available as a nodelt ( , ).

Read the ROS/PCL overview for a description on how to subscribe, publish, and convert between the different datatypes.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-08-22 08:59:46 -0500

Seen: 173 times

Last updated: Aug 22 '14