Function rs2_register_calibration_change_callback_cpp

Function Documentation

void rs2_register_calibration_change_callback_cpp(rs2_device *dev, rs2_calibration_change_callback *callback, 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 interface that gets called

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