Function ouster::sdk::core::operator==(const Frame&, const Frame&)

Function Documentation

bool ouster::sdk::core::operator==(const Frame &a, const Frame &b)

Equality for frames.

Dispatches polymorphically to Frame::equals(), so it works on base Frame references regardless of the concrete frame type: two LidarFrames compare their lidar headers, two CameraFrames compare the shared frame state, and a lidar frame is never equal to a camera frame.

Parameters:
  • a[in] The first frame to compare.

  • b[in] The second frame to compare.

Returns:

true if a == b.