Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.93 KB

SensorSettings.md

File metadata and controls

30 lines (24 loc) · 1.93 KB

class SensorSettings

Member values

Member name Data type Description
sensor uint32 The sensor (color or depth)
resolution uint32 The resolution setting
frame_rate uint32 Frame rate setting
bit_rate uint32 Maximum encoded bit rate

Member functions

Function name Return type Input type Description
sensor() const uint32 void Returns the current value of sensor. If the sensor is not set, returns 0.
set_sensor() void uint32 Sets the value of sensor. After calling this, sensor() will return value.
clear_sensor() void void Clears the value of sensor. After calling this, sensor() will return the empty string/empty bytes.
resolution() const uint32 void Returns the current value of resolution. If the resolution is not set, returns 0.
set_resolution() void uint32 Sets the value of resolution. After calling this, resolution() will return value.
clear_resolution() void void Clears the value of resolution. After calling this, resolution() will return the empty string/empty bytes.
frame_rate() const uint32 void Returns the current value of frame_rate. If the frame_rate is not set, returns 0.
set_frame_rate() void uint32 Sets the value of frame_rate. After calling this, frame_rate() will return value.
clear_frame_rate() void void Clears the value of frame_rate. After calling this, frame_rate() will return the empty string/empty bytes.
bit_rate() const uint32 void Returns the current value of bit_rate. If the bit_rate is not set, returns 0.
set_bit_rate() void uint32 Sets the value of bit_rate. After calling this, bit_rate() will return value.
clear_bit_rate() void void Clears the value of bit_rate. After calling this, bit_rate() will return the empty string/empty bytes.

Parent topic: VisionConfig (C++)