Function rs2_process_calibration_frame

Function Documentation

const rs2_raw_data_buffer *rs2_process_calibration_frame(rs2_device *dev, const rs2_frame *f, float *const health, rs2_update_progress_callback *progress_callback, int timeout_ms, rs2_error **error)

During host assisted calibration (Tare or on-chip), this is used to pump new depth frames until calibration is done.

Parameters:
  • f[in] The next frame.

  • timeout_ms[in] Timeout in ms (use 5000 msec unless instructed otherwise)

  • health[out] The health check numbers before and after calibration

Returns:

New calibration table