Re: [ros-users] Publishing a vector of point clouds

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Radu Bogdan Rusu
Dato:  
Til: User discussions
CC: cmuell2s, Point Cloud Library \(PCL\) mailing list
Emne: Re: [ros-users] Publishing a vector of point clouds
Christian,


On 01/21/2011 05:32 AM, cmuell2s wrote:
> Hello all,
>
> I stuck at a small problem. I would like to publish a vector/array of
> pcl::PointCloud<pcl::PointXYZ>.
> I couldn't find a sensor_msg or std_msg which would do it, did I
> overlooked sth?


Unfortunately you need to define your own message type for that. So far we only support publishing a single
pcl::PointCloud<T> type.

In general, if you have a message Foo.msg and you want to send an array of Foo, you need to declare another message
Bar.msg, which has "Foo[] foo" inside.

Cheers,
Radu.
--
http://pointclouds.org