[ros-users] [PCL-users] Publishing a vector of point clouds

Kei Okada k-okada at jsk.t.u-tokyo.ac.jp
Sat Jan 22 03:23:40 UTC 2011


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 <rusu at willowgarage.com> 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
> _______________________________________________
> PCL-users at code.ros.org / http://pointclouds.org
> https://code.ros.org/mailman/listinfo/pcl-users
>



More information about the ros-users mailing list