Michael,
If it's a PointCloud, points.size () should give you the number of points. If it's a PointCloud2, cloud.width *
cloud.height does the same.
Cheers,
Radu.
On 07/02/2010 08:04 AM,
Michal.Stolba@cis.strath.ac.uk wrote:
> Hi,
>
> following a tutorial on laser_pipeline:
> http://www.ros.org/wiki/laser_pipeline/Tutorials/IntroductionToWorkingWithLaserScannerData
>
> how do I know how many points are in the resulting 3D point cloud?
>
> Thanks,
>
> Michal
>
> _______________________________________________
> ros-users mailing list
> ros-users@code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
--
| Radu Bogdan Rusu | http://rbrusu.com/