Module sensor

Source
Expand description

Type for abstracting over the concept of a Sensor

The words device and sensor are overloaded in this industry, and librealsense2 makes no attempts to fix that. While the words device and sensor are often used colloquially, here Device refers to a whole Realsense package, such as a D435i, L515, etc. Sensor refers to “sub-devices”; rather, the individual sensing components that one can stream from. A sensor may be an IMU, which has accelerometer and gyroscope streams, or a camera of some kind, which has streams related to different types of images.

The hierarchy is effectively:

Device |-> Sensor |-> StreamProfile

Structs§

Sensor
Type for holding sensor-related data.

Enums§

RoiSetError
Type describing errors that can occur when trying to set the region of interest of a sensor.
SensorConstructionError
Type describing errors that can occur when trying to construct a sensor.