SensorsData Struct Reference

Structure containing all sensors data (except image sensors) to be used for positional tracking or environment study. More...

Classes

struct  BarometerData
 Structure containing data from the barometer sensor. More...
 
struct  IMUData
 Structure containing data from the IMU sensor. More...
 
struct  MagnetometerData
 Structure containing data from the magnetometer sensor. More...
 
struct  TemperatureData
 Structure containing data from the temperature sensors. More...
 

Types

enum class  CAMERA_MOTION_STATE
 Lists different states of the camera motion. More...
 

Functions

 SensorsData ()
 Default constructor. More...
 
 SensorsData (const SensorsData &data)
 Copy constructor (deep copy). More...
 

Attributes

BarometerData barometer
 Barometer data. More...
 
TemperatureData temperature
 Temperature data. More...
 
MagnetometerData magnetometer
 Magnetometer data. More...
 
IMUData imu
 IMU data. More...
 
CAMERA_MOTION_STATE camera_moving_state
 Motion state of the camera. More...
 
int image_sync_trigger
 Indicates if the sensors data has been taken during a frame capture on sensor. More...
 

Detailed Description

Structure containing all sensors data (except image sensors) to be used for positional tracking or environment study.

Note
Some data are not available in SVO and streaming input mode.
They are specified by a note "Not available in SVO or STREAM mode." in the documentation of a specific data.
If nothing is mentioned in the documentation, they are available in all input modes.

Constructor and Destructor

◆ SensorsData() [1/2]

Default constructor.

Creates an empty sl::SensorsData (identity).

◆ SensorsData() [2/2]

SensorsData ( const SensorsData data)

Copy constructor (deep copy).

Variables

◆ barometer

BarometerData barometer

Barometer data.

◆ temperature

TemperatureData temperature

Temperature data.

◆ magnetometer

MagnetometerData magnetometer

Magnetometer data.

◆ imu

IMUData imu

IMU data.

◆ camera_moving_state

CAMERA_MOTION_STATE camera_moving_state

Motion state of the camera.

◆ image_sync_trigger

int image_sync_trigger

Indicates if the sensors data has been taken during a frame capture on sensor.

If the value is 1, the data has been taken during the same time than a frame has been acquired by the left sensor (the time precision is linked to the IMU rate, therefore 800Hz == 1.3ms).
If the value is 0, the data has not been taken during a frame acquisition.