using pcl1.7 with ROS fuerte - problem with toROSMsg function

asked 2014-04-11 02:43:06 -0500

Vero gravatar image

Hi all,

I'm trying to visualize a PointCloud with pcl library in ROS fuerte (ubuntu 12.04). I'm including the pcl 1.7 library and the pcl_ros library.

I need to convert the point cloud from pcl::PointCloud<pcl::pointxyzrgb> to sensor_msgs::PointCloud2 in order to publish on topic the point cloud. But I think that in the new version of pcl library(1.7) the function pcl::toROSMsg() is not able to convert the point cloud to sensor_msgs::PointCloud2.

Any suggestions?

I also found a unstable version of pcl 1.7 library integrated in ROS: pcl17. Which is the right version of pcl I should use?

thank you in advance

edit retag flag offensive close merge delete