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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 65 times

Last updated: Aug 22 '14