Function rs2_register_calibration_change_callback

Function Documentation

void rs2_register_calibration_change_callback(rs2_device *dev, rs2_calibration_change_callback_ptr callback, void *user, rs2_error **error)

Adds a callback for a sensor that gets called when calibration (intrinsics) changes, e.g. due to auto-calibration

Parameters:
  • sensor[in] the sensor

  • callback[in] the C callback function that gets called

  • user[in] user argument that gets passed to the callback function

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