Function ouster::sdk::algorithm::align_clouds(const ouster::sdk::core::LidarFrame&, const ouster::sdk::core::LidarFrame&, double&)

Function Documentation

core::Matrix4dR ouster::sdk::algorithm::align_clouds(const ouster::sdk::core::LidarFrame &source_frame, const ouster::sdk::core::LidarFrame &target_frame, double &confidence)

Estimate frame-to-frame alignment and report confidence.

Parameters:
  • source_frame[in] Source frame.

  • target_frame[in] Target frame.

  • confidence[out] Confidence score in [0, 1] for the estimated pose.

Throws:

std::invalid_argument – If a frame lacks a RANGE field or sensor_info.

Returns:

Estimated source_to_target_transform in the extrinsic-applied frame.