[ros-users] rviz and PointCloud2

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: guillem alenya
Date:  
To: ros-users
Subject: [ros-users] rviz and PointCloud2
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