[ros-users] rviz and PointCloud2

guillem alenya galenya at iri.upc.edu
Thu May 6 08:10:50 UTC 2010


Hi all,

my name is Guillem, and I'm new to this list.

I've got a 3D sensor providing depth data that I represent as a 
PointCloud2 (Let me say that PCL is really very promising!). Now I would 
like to show this PointCloud2 using rviz. The only way I've found (and 
works!) is to call

   point_cloud_converter::convert(cloud2,cloud);

to obtain a PointCloud suitable for publishing to rviz.

The question is: there is a better way to do that using the original 
PointCloud2?

Thanks in advance,

Guillem




More information about the ros-users mailing list