Function rs2_depth_stereo_frame_get_baseline

Function Documentation

float rs2_depth_stereo_frame_get_baseline(const rs2_frame *frame_ref, rs2_error **error)

Retrieve the stereoscopic baseline value from frame. Applicable to stereo-based depth modules

Parameters:
  • float[out] Stereoscopic baseline in millimeters

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored