Structure containing data from the magnetometer sensor. More...
Data Fields | |
bool | is_available |
Whether the magnetometer sensor is available in your camera. | |
unsigned long long | timestamp_ns |
Data acquisition timestamp in nanoseconds. | |
struct SL_Vector3 | magnetic_field_c |
Magnetic field local vector in microtesla (μT). More... | |
struct SL_Vector3 | magnetic_field_unc |
Uncalibrated magnetic field local vector in microtesla (μT). More... | |
float | magnetic_heading |
Camera heading in degrees relative to the magnetic North Pole. More... | |
enum SL_HEADING_STATE | magnetic_heading_state |
State of magnetic_heading. | |
float | magnetic_heading_accuracy |
Accuracy of magnetic_heading measure in the range [0.0, 1.0]. More... | |
float | effective_rate |
Realtime data acquisition rate in hertz (Hz). | |
Structure containing data from the magnetometer sensor.
struct SL_Vector3 SL_MagnetometerData::magnetic_field_c |
Magnetic field local vector in microtesla (μT).
struct SL_Vector3 SL_MagnetometerData::magnetic_field_unc |
Uncalibrated magnetic field local vector in microtesla (μT).
float SL_MagnetometerData::magnetic_heading |
Camera heading in degrees relative to the magnetic North Pole.
float SL_MagnetometerData::magnetic_heading_accuracy |
Accuracy of magnetic_heading measure in the range [0.0, 1.0].