SL_SensorParameters Struct Reference

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

Data Fields

enum SL_SENSOR_TYPE type
 
float resolution
 
float sampling_rate
 
struct SL_Vector2 range
 
float noise_density
 
float random_walk
 
enum SL_SENSORS_UNIT sensor_unit
 
bool is_available
 

Detailed Description

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

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

Field Documentation

◆ resolution

float SL_SensorParameters::resolution

The type of the sensor as DEVICE_SENSORS (SL_SENSOR_TYPE)

◆ sampling_rate

float SL_SensorParameters::sampling_rate

The resolution of the sensor.

◆ range

struct SL_Vector2 SL_SensorParameters::range

The sampling rate (or ODR) of the sensor.

◆ noise_density

float SL_SensorParameters::noise_density

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

◆ random_walk

float SL_SensorParameters::random_walk

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

◆ sensor_unit

enum SL_SENSORS_UNIT SL_SensorParameters::sensor_unit

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

◆ is_available

bool SL_SensorParameters::is_available

The string relative to the measurement unit of the sensor (SL_SENSORS_UNIT).