SensorParameters Struct Reference

Structure containing information about a single sensor available in the current device. More...

Attributes

sl::SENSOR_TYPE type
 
float resolution
 
float sampling_rate
 
sl::float2 range
 
float noise_density
 
float random_walk
 
sl::SENSORS_UNIT sensor_unit
 
bool isAvailable
 

Detailed Description

Structure containing information about a single sensor available in the current device.

That information about the camera sensors is available in the CameraInformation struct returned by Camera::getCameraInformation().

Note
This object is meant to be used as a read-only container, editing any of its fields won't impact the SDK.

Variables

◆ type

The type of the sensor as DEVICE_SENSORS

◆ resolution

float resolution

The resolution of the sensor.

◆ sampling_rate

float sampling_rate

The sampling rate (or ODR) of the sensor.

◆ range

sl::float2 range

The range values of the sensor. MIN: range.x, MAX: range.y

◆ noise_density

float noise_density

also known as white noise, given as continous (frequency independant). Units will be expressed in sensor_unit/√(Hz). NAN if the information is not available

◆ random_walk

float random_walk

derived from the Allan Variance, given as continous (frequency independant). Units will be expressed in sensor_unit/s/√(Hz).NAN if the information is not available

◆ sensor_unit

sl::SENSORS_UNIT sensor_unit

The string relative to the measurement unit of the sensor.

◆ isAvailable

bool isAvailable