SensorsConfiguration Struct Reference

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

Functions

bool isSensorAvailable (const sl::SENSOR_TYPE &sensor_type)
 

Attributes

unsigned int firmware_version = 0
 
sl::Transform camera_imu_transform
 
sl::Transform imu_magnetometer_transform
 
sl::SensorParameters accelerometer_parameters
 
sl::SensorParameters gyroscope_parameters
 
sl::SensorParameters magnetometer_parameters
 
sl::SensorParameters barometer_parameters
 

Detailed Description

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

That information about the camera sensors is available in the CameraInformation struct returned by Camera::getCameraInformation().

Note
This object is meant to be used as a read-only container, editing any of its fields won't impact the SDK.

Functions

◆ isSensorAvailable()

bool isSensorAvailable ( const sl::SENSOR_TYPE sensor_type)

Check if a sensor type is available on the device

Variables

◆ firmware_version

unsigned int firmware_version = 0

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

◆ camera_imu_transform

sl::Transform camera_imu_transform

IMU to Left camera transform matrix, that contains rotation and translation between IMU frame and camera frame.

◆ imu_magnetometer_transform

sl::Transform imu_magnetometer_transform

Magnetometer to IMU transform matrix, that contains rotation and translation between IMU frame and magnetometer frame.

◆ accelerometer_parameters

sl::SensorParameters accelerometer_parameters

Configuration of the accelerometer device

◆ gyroscope_parameters

sl::SensorParameters gyroscope_parameters

Configuration of the gyroscope device

◆ magnetometer_parameters

sl::SensorParameters magnetometer_parameters

Configuration of the magnetometer device

◆ barometer_parameters

sl::SensorParameters barometer_parameters

Configuration of the barometer device