Function rs2_override_intrinsics

Function Documentation

void rs2_override_intrinsics(const rs2_sensor *sensor, const rs2_intrinsics *intrinsics, rs2_error **error)

Override intrinsics of a given sensor that supports calibrated_sensor.

This will affect intrinsics at the source and may affect multiple profiles. Used for DEPTH_TO_RGB calibration.

Parameters:
  • sensor[in] The RealSense device

  • intrinsics[in] Intrinsics value to be written to the sensor

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