SensorsData Class Reference

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

Functions

def init_sensorsData (self, SensorsData sensorsData)
 Copy constructor. More...
 
def camera_moving_state (self)
 Indicates if the camera is static, moving or falling.
 
def image_sync_trigger (self)
 Indicates if the Sensors data has been taken during a frame capture on sensor. More...
 
def get_imu_data (self)
  Gets the IMUData   More...
 
def get_barometer_data (self)
  Gets the BarometerData   More...
 
def get_magnetometer_data (self)
  Gets the MagnetometerData   More...
 
def get_temperature_data (self)
  Gets the TemperatureData   More...
 

Detailed Description

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

 

Functions

◆ init_sensorsData()

def init_sensorsData (   self,
SensorsData  sensorsData 
)

Copy constructor.

 

Parameters
sensorsData: SensorsData object to be copied from

◆ image_sync_trigger()

def image_sync_trigger (   self)

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

If value is 1, SensorsData has been retrieved during a left sensor frame acquisition (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.

◆ get_imu_data()

def get_imu_data (   self)

 Gets the IMUData  

Returns
the IMUData

◆ get_barometer_data()

def get_barometer_data (   self)

 Gets the BarometerData  

Returns
the BarometerData

◆ get_magnetometer_data()

def get_magnetometer_data (   self)

 Gets the MagnetometerData  

Returns
the MagnetometerData

◆ get_temperature_data()

def get_temperature_data (   self)

 Gets the TemperatureData  

Returns
the TemperatureData