Re: [ros-users] [PCL-users] Publishing a vector of point cl…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: Radu Bogdan Rusu, Point Cloud Library (PCL) mailing list
CC: cmuell2s, User discussions
Subject: Re: [ros-users] [PCL-users] Publishing a vector of point clouds
Hi Radu

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


Do you have plan to support publishing multiple pcl::PointCloud<T> or
PointCloudArray.msg the feature official release of PCL_ROS?
I encountered the same situation when I'm trying to publish the result
of SceneAnalyzer of OpenNI/NITE which is to publish point cloud data
for each segmented human volumes.
I thought other people require same message type when they build the
node to publish , for example, multiple planner surface, cylinder
object in the point cloud data. Or, is there other way for them?

On Sat, Jan 22, 2011 at 2:17 AM, Radu Bogdan Rusu <> wrote:
> 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
> _______________________________________________
> / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
>