Function rs2_software_sensor_add_read_only_option

Function Documentation

void rs2_software_sensor_add_read_only_option(rs2_sensor *sensor, rs2_option option, float val, rs2_error **error)

Add read only option to sensor

Parameters:
  • sensor[in] the software sensor

  • option[in] the wanted option

  • val[in] the initial value

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