SensorsData::MagnetometerData Class Reference

Contains Magnetometer sensor data. More...

Attributes

bool is_available
 
sl::Timestamp timestamp
 
sl::float3 magnetic_field_uncalibrated
 
sl::float3 magnetic_field_calibrated
 
float effective_rate
 

Detailed Description

Contains Magnetometer sensor data.

Variables

◆ is_available

bool is_available

Defines if the sensor is available in your camera.

◆ timestamp

sl::Timestamp timestamp

Defines the sensors data timestamp

◆ magnetic_field_uncalibrated

sl::float3 magnetic_field_uncalibrated

(3x1) Vector for magnetometer raw values (uncalibrated) In other words, the current magnetic field (uT), along with the x, y, and z axes.

Note
Not available in SVO or Stream mode.

◆ magnetic_field_calibrated

sl::float3 magnetic_field_calibrated

(3x1) Vector for magnetometer values (after user calibration) In other words, the current magnetic field (uT), along with the x, y, and z axes.

Note
To calibrate the magnetometer sensor please use the ZED Sensor Viewer tool

◆ effective_rate

float effective_rate

Realtime data acquisition rate [Hz]