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

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
0

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

paulbovbel gravatar image

You will find that the VoxelGrid filter is already available as a nodelt ( http://wiki.ros.org/pcl_ros/Filters#V... , http://wiki.ros.org/pcl_ros/Tutorials... ).

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

Stats

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

Seen: 171 times

Last updated: Aug 22 '14