Re: [ros-users] how many points in 3D cloud?

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Radu Bogdan Rusu
Dato:  
Til: ros-users
Emne: Re: [ros-users] how many points in 3D cloud?
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, 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
>
> https://code.ros.org/mailman/listinfo/ros-users


--
| Radu Bogdan Rusu | http://rbrusu.com/