SensorsData Class Reference

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

Classes

class  BarometerData
 Contains Barometer sensor data. More...
 
class  IMUData
 Contains IMU sensor data. More...
 
class  MagnetometerData
 Contains Magnetometer sensor data. More...
 
class  TemperatureData
 Contains sensors temperature data. More...
 

Types

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

Functions

 SensorsData ()
 Default constructor which creates an empty SensorsData (identity). More...
 
 SensorsData (const SensorsData &data)
 SensorsData constructor with deep copy. More...
 

Attributes

BarometerData barometer
 Defines the BarometerData . More...
 
TemperatureData temperature
 Defines the TemperatureData . More...
 
MagnetometerData magnetometer
 Defines the MagnetometerData . More...
 
IMUData imu
 Defines the IMUData . More...
 
CAMERA_MOTION_STATE camera_moving_state
 
int image_sync_trigger
 

Detailed Description

Contains 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 mentionned in the documentation, they are available in all input modes.

Constructor and Destructor

◆ SensorsData() [1/2]

Default constructor which creates an empty SensorsData (identity).

◆ SensorsData() [2/2]

SensorsData ( const SensorsData data)

SensorsData constructor with deep copy.

Variables

◆ barometer

BarometerData barometer

Defines the BarometerData .

◆ temperature

TemperatureData temperature

Defines the TemperatureData .

◆ magnetometer

MagnetometerData magnetometer

Defines the MagnetometerData .

◆ imu

IMUData imu

Defines the IMUData .

◆ camera_moving_state

CAMERA_MOTION_STATE camera_moving_state

Indicates if the camera is static, moving or falling

◆ image_sync_trigger

int image_sync_trigger

Indicates if the Sensors data has been taken during a frame capture on sensor. If value is 1, SensorsData 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 value is 0, the data has not been taken during a frame acquisition.