[ros-users] Publishing a vector of point clouds

Nicolás Alvarez Picco nicolasapicco at hotmail.com
Fri Jan 21 14:40:55 UTC 2011


As far as I know it is not possible to publish pcl::PointCloud<pcl::PointXYZ>. You need to use the function pcl::toROSMsg(, ); to transform the pcl point cloud to a sensor_msgs point cloud and the publish it!

Nicolas


> From: bcharrow at seas.upenn.edu
> Date: Fri, 21 Jan 2011 09:07:40 -0500
> To: ros-users at code.ros.org
> Subject: Re: [ros-users] Publishing a vector of point clouds
> 
> The following command will find all files that use a particular message:
> 
> rosmsg users package/message_type
> 
> You can then search the returned files for a message file that contains an array of the message.
> 
> Cheers,
> Ben
> 
> On Jan 21, 2011, at 8: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?
> > 
> > Does anybody have a clue? Maybe a link to an example?
> > 
> > Thanks a lot for any comment.
> > 
> >   Christian Mueller
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> 
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110121/a1052460/attachment-0003.html>


More information about the ros-users mailing list