SL_SensorsData Struct Reference

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

Data Fields

struct SL_IMUData imu
 IMU data.
 
struct SL_BarometerData barometer
 Barometer data.
 
struct SL_MagnetometerData magnetometer
 Magnetometer data.
 
struct SL_TemperatureData temperature
 Temperature data.
 
int 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.

Field Documentation

◆ camera_moving_state

int SL_SensorsData::camera_moving_state

Motion state of the camera.

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

◆ image_sync_trigger

int SL_SensorsData::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.