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

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Radu Bogdan Rusu
日付:  
To: ros-users
題目: 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/