RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
Loading...
Searching...
No Matches
PCL to 2D LaserScan

Converts various PCL point cloud types into a unified 2D LaserScan format. More...

Functions

LaserScan RTABMAP_CORE_EXPORT rtabmap::util3d::laserScan2dFromPointCloud (const pcl::PointCloud< pcl::PointXYZ > &cloud, const Transform &transform=Transform(), bool filterNaNs=true)
 PointXYZLaserScan::kXY
 
LaserScan RTABMAP_CORE_EXPORT rtabmap::util3d::laserScan2dFromPointCloud (const pcl::PointCloud< pcl::PointXYZI > &cloud, const Transform &transform=Transform(), bool filterNaNs=true)
 PointXYZILaserScan::kXYI (x, y, intensity)
 
LaserScan RTABMAP_CORE_EXPORT rtabmap::util3d::laserScan2dFromPointCloud (const pcl::PointCloud< pcl::PointNormal > &cloud, const Transform &transform=Transform(), bool filterNaNs=true)
 PointNormalLaserScan::kXYNormal (x, y, nx, ny, nz)
 
LaserScan RTABMAP_CORE_EXPORT rtabmap::util3d::laserScan2dFromPointCloud (const pcl::PointCloud< pcl::PointXYZ > &cloud, const pcl::PointCloud< pcl::Normal > &normals, const Transform &transform=Transform(), bool filterNaNs=true)
 PointXYZ + NormalLaserScan::kXYNormal (x, y, nx, ny, nz)
 
LaserScan RTABMAP_CORE_EXPORT rtabmap::util3d::laserScan2dFromPointCloud (const pcl::PointCloud< pcl::PointXYZINormal > &cloud, const Transform &transform=Transform(), bool filterNaNs=true)
 PointXYZINormalLaserScan::kXYINormal (x, y, inensity, nx, ny, nz)
 
LaserScan RTABMAP_CORE_EXPORT rtabmap::util3d::laserScan2dFromPointCloud (const pcl::PointCloud< pcl::PointXYZI > &cloud, const pcl::PointCloud< pcl::Normal > &normals, const Transform &transform=Transform(), bool filterNaNs=true)
 PointXYZI + NormalLaserScan::kXYINormal (x, y, inensity, nx, ny, nz)
 

Detailed Description

Converts various PCL point cloud types into a unified 2D LaserScan format.

Returns only XY data, with optional intensity and/or normals.

Output:

Parameters
cloudThe input cloud (2D assumed).
normalsOptional normal cloud.
transformOptional transformation to apply.
filterNaNsWhether to ignore invalid points.
Returns
A 2D LaserScan.
See also
laserScanFromPointCloud() for 3D extraction.