Class containing data from the magnetometer sensor. More...
Functions | |
bool | is_available (self) |
Whether the magnetometer sensor is available in your camera. | |
float | effective_rate (self) |
Realtime data acquisition rate in hertz (Hz). | |
float | magnetic_heading (self) |
Camera heading in degrees relative to the magnetic North Pole. More... | |
float | magnetic_heading_accuracy (self) |
Accuracy of magnetic_heading measure in the range [0.0, 1.0]. More... | |
HEADING_STATE | magnetic_heading_state (self) |
State of magnetic_heading. | |
np.array[float] | get_magnetic_field_uncalibrated (self) |
Gets the uncalibrated magnetic field local vector in microtesla (μT). More... | |
np.array[float] | get_magnetic_field_calibrated (self) |
Gets the magnetic field local vector in microtesla (μT). More... | |
int | timestamp (self) |
Data acquisition timestamp. | |
Class containing data from the magnetometer sensor.
float magnetic_heading | ( | self | ) |
Camera heading in degrees relative to the magnetic North Pole.
float magnetic_heading_accuracy | ( | self | ) |
Accuracy of magnetic_heading measure in the range [0.0, 1.0].
np.array[float] get_magnetic_field_uncalibrated | ( | self | ) |
Gets the uncalibrated magnetic field local vector in microtesla (μT).
np.array[float] get_magnetic_field_calibrated | ( | self | ) |
Gets the magnetic field local vector in microtesla (μT).