Function ouster::sdk::core::make_xyz_lut(const SensorInfo&, bool)

Function Documentation

XYZLut ouster::sdk::core::make_xyz_lut(const SensorInfo &sensor, bool use_extrinsics)

Convenient overload that uses parameters from the supplied SensorInfo.

Projections to XYZ made with this XYZLut will be in the sensor coordinate frame defined in the sensor documentation unless use_extrinics is true. Then the projections will be in the coordinate frame defined by the provided extrinsics in the metadata.

Parameters:
  • sensor[in] – metadata returned from the client.

  • use_extrinsics[in] – if true, applies the sensor.extrinsic transform to the resulting “sensor frame” coordinates

Returns:

xyz direction and offset vectors for each point in the lidar scan.