Function rs2_override_dsm_params

Function Documentation

void rs2_override_dsm_params(rs2_sensor const *sensor, rs2_dsm_params const *p_params, rs2_error **error)

Set the sensor DSM parameters This should ideally be done when the stream is NOT running. If it is, the parameters may not take effect immediately.

Parameters:
  • sensor[in] Sensor that supports the CALIBRATED_SENSOR extension

  • p_params[out] Pointer to the structure that contains the DSM parameters

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