SensorsData Struct Reference

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

Attributes

ImuData imu
 IMU data. More...
 
BarometerData barometer
 Barometer data. More...
 
MagnetometerData magnetometer
 Magnetometer data. More...
 
TemperatureSensorData temperatureSensor
 Temperature data. More...
 
int camera_moving_state
 Motion state of the camera. More...
 
int image_sync_val
 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.

Variables

◆ imu

ImuData imu

IMU data.

◆ barometer

BarometerData barometer

Barometer data.

◆ magnetometer

MagnetometerData magnetometer

Magnetometer data.

◆ temperatureSensor

TemperatureSensorData temperatureSensor

Temperature data.

◆ camera_moving_state

int camera_moving_state

Motion state of the camera.

  • static: 0
  • moving: 1
  • falling: 2

◆ image_sync_val

int image_sync_val

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.