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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Radu Bogdan Rusu
Date:  
To: ros-users
Subject: 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/