SensorsConfiguration Struct Reference

Structure containing information about all the sensors available in the current device More...

Functions

bool isSensorAvailable (SENSOR_TYPE sensor_type)
 if a sensor type is available on the device More...
 

Attributes

uint firmware_version
 The firmware version of the sensor module, 0 if no sensors are available (ZED camera model). More...
 
float4 camera_imu_rotation
 contains rotation between IMU frame and camera frame. More...
 
float3 camera_imu_translation
 contains translation between IMU frame and camera frame. More...
 
float4 imu_magnometer_rotation
 Magnetometer to IMU rotation. contains rotation between IMU frame and magnetometer frame. More...
 
float3 imu_magnometer_translation
 Magnetometer to IMU translation. contains translation between IMU frame and magnetometer frame. More...
 
SensorParameters accelerometer_parameters
 Configuration of the accelerometer device. More...
 
SensorParameters gyroscope_parameters
 Configuration of the gyroscope device. More...
 
SensorParameters magnetometer_parameters
 Configuration of the magnetometer device. More...
 
SensorParameters barometer_parameters
 Configuration of the barometer device More...
 

Detailed Description

Structure containing information about all the sensors available in the current device

Functions

◆ isSensorAvailable()

bool isSensorAvailable ( SENSOR_TYPE  sensor_type)
inline

if a sensor type is available on the device

Parameters
sensor_type
Returns

Variables

◆ firmware_version

uint firmware_version

The firmware version of the sensor module, 0 if no sensors are available (ZED camera model).

◆ camera_imu_rotation

float4 camera_imu_rotation

contains rotation between IMU frame and camera frame.

◆ camera_imu_translation

float3 camera_imu_translation

contains translation between IMU frame and camera frame.

◆ imu_magnometer_rotation

float4 imu_magnometer_rotation

Magnetometer to IMU rotation. contains rotation between IMU frame and magnetometer frame.

◆ imu_magnometer_translation

float3 imu_magnometer_translation

Magnetometer to IMU translation. contains translation between IMU frame and magnetometer frame.

◆ accelerometer_parameters

SensorParameters accelerometer_parameters

Configuration of the accelerometer device.

Referenced by SensorsConfiguration.isSensorAvailable().

◆ gyroscope_parameters

SensorParameters gyroscope_parameters

Configuration of the gyroscope device.

Referenced by SensorsConfiguration.isSensorAvailable().

◆ magnetometer_parameters

SensorParameters magnetometer_parameters

Configuration of the magnetometer device.

Referenced by SensorsConfiguration.isSensorAvailable().

◆ barometer_parameters

SensorParameters barometer_parameters

Configuration of the barometer device

Referenced by SensorsConfiguration.isSensorAvailable().