SL_SensorsConfiguration Struct Reference

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

Data Fields

unsigned int firmware_version
 Firmware version of the sensor module. More...
 
struct SL_Vector4 camera_ium_rotation
 IMU to left camera rotation (quaternion). More...
 
struct SL_Vector3 camera_imu_translation
 IMU to left camera translation. More...
 
struct SL_Vector4 ium_magnetometer_rotation
 Magnetometer to IMU rotation (quaternion). More...
 
struct SL_Vector3 ium_magnetometer_translation
 Magnetometer to IMU translation (quaternion). More...
 
struct SL_SensorParameters accelerometer_parameters
 Configuration of the accelerometer.
 
struct SL_SensorParameters gyroscope_parameters
 Configuration of the gyroscope.
 
struct SL_SensorParameters magnetometer_parameters
 Configuration of the magnetometer.
 
struct SL_SensorParameters barometer_parameters
 Configuration of the barometer.
 

Detailed Description

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

Information about the camera sensors is available in the SL_CameraInformation struct returned by sl_get_camera_information().

Note
This structure is meant to be used as a read-only container.
Editing any of its fields will not impact the ZED SDK.

Field Documentation

◆ firmware_version

unsigned int SL_SensorsConfiguration::firmware_version

Firmware version of the sensor module.

Note
0 if no sensors are available (SL_MODEL_ZED).

◆ camera_ium_rotation

struct SL_Vector4 SL_SensorsConfiguration::camera_ium_rotation

IMU to left camera rotation (quaternion).

Note
It contains the rotation between the IMU frame and camera frame.

◆ camera_imu_translation

struct SL_Vector3 SL_SensorsConfiguration::camera_imu_translation

IMU to left camera translation.

Note
It contains the translation between the IMU frame and camera frame.

◆ ium_magnetometer_rotation

struct SL_Vector4 SL_SensorsConfiguration::ium_magnetometer_rotation

Magnetometer to IMU rotation (quaternion).

Note
It contains rotation between IMU frame and magnetometer frame.

◆ ium_magnetometer_translation

struct SL_Vector3 SL_SensorsConfiguration::ium_magnetometer_translation

Magnetometer to IMU translation (quaternion).

Note
It contains translation between IMU frame and magnetometer frame.