Function ouster_ros::scan_to_cloud_f(ouster::PointsF&, const ouster::PointsF&, const ouster::PointsF&, std::chrono::nanoseconds, const ouster::LidarScan&, ouster_ros::Cloud&, int)

Function Documentation

void ouster_ros::scan_to_cloud_f(ouster::PointsF &points, const ouster::PointsF &lut_direction, const ouster::PointsF &lut_offset, std::chrono::nanoseconds scan_ts, const ouster::LidarScan &lidar_scan, ouster_ros::Cloud &cloud, int return_index)

Populate a PCL point cloud from a LidarScan.

Parameters:
  • points[inout] The points parameters is used to store the results of the cartesian product before it gets packed into the cloud object.

  • lut_direction[in] the direction of the xyz lut (with single precision)

  • lut_offset[in] the offset of the xyz lut (with single precision)

  • scan_ts[in] scan start used to caluclate relative timestamps for points.

  • lidar_scan[in] input lidar data

  • cloud[out] output pcl pointcloud to populate

  • return_index[in] index of return desired starting at 0