Function rs2_get_option

Function Documentation

float rs2_get_option(const rs2_options *options, rs2_option option, rs2_error **error)

read option value from the sensor

Parameters:
  • options[in] the options container

  • option[in] option id to be queried

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

Returns:

value of the option