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

Top Pagina
Bijlagen:
Bericht als e-mail
+ (text/plain)
Delete this message
Reply to this message
Auteur: User discussions
Datum:  
Aan: User discussions
Onderwerp: Re: [ros-users] Publishing a vector of point clouds
On Fri, Jan 21, 2011 at 7: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?


This comes up frequently. In many cases it seems the obvious solution.

Often, problems become apparent on further consideration: who will
read this vector of pointclouds? What operations must be performed on
it?

Frequently, these problems are better solved by republishing some or
all of the original points as a single PointCloud2 with a
categorization field. The data can be sorted on that field for
efficient access, sometimes that occurs naturally as a result of your
algorithm, anyway.
--
 joq