|
Sensor Fusion Library 0.6.1
Orientation sensing for Espressif (ESP32, ESP8266) processors
|
The MagSensor structure stores raw and processed measurements for a 3-axis magnetic sensor. More...
#include <sensor_fusion.h>
Public Attributes | |
| uint8_t | iWhoAmI |
| sensor whoami | |
| bool | isEnabled |
| true if the device is sampling | |
| uint8_t | iFIFOCount |
| number of measurements read from FIFO | |
| uint16_t | iFIFOExceeded |
| Number of samples received in excess of software FIFO size. | |
| int16_t | iBsFIFO [MAG_FIFO_SIZE][3] |
| FIFO measurements (counts) | |
| float | fBs [3] |
| averaged un-calibrated measurement (uT) | |
| float | fBc [3] |
| averaged calibrated measurement (uT) | |
| float | fuTPerCount |
| uT per count | |
| float | fCountsPeruT |
| counts per uT | |
| int16_t | iBs [3] |
| averaged uncalibrated measurement (counts) | |
| int16_t | iBc [3] |
| averaged calibrated measurement (counts) | |
| int16_t | iCountsPeruT |
| counts per uT | |
The MagSensor structure stores raw and processed measurements for a 3-axis magnetic sensor.
The MagSensor structure stores raw and processed measurements, as well as metadata for a single 3-axis magnetometer. This structure is normally "fed" by the sensor driver and "consumed" by the fusion routines.
Definition at line 211 of file sensor_fusion.h.
| float MagSensor::fBc[3] |
averaged calibrated measurement (uT)
Definition at line 220 of file sensor_fusion.h.
| float MagSensor::fBs[3] |
averaged un-calibrated measurement (uT)
Definition at line 219 of file sensor_fusion.h.
| float MagSensor::fCountsPeruT |
counts per uT
Definition at line 222 of file sensor_fusion.h.
| float MagSensor::fuTPerCount |
uT per count
Definition at line 221 of file sensor_fusion.h.
| int16_t MagSensor::iBc[3] |
averaged calibrated measurement (counts)
Definition at line 224 of file sensor_fusion.h.
| int16_t MagSensor::iBs[3] |
averaged uncalibrated measurement (counts)
Definition at line 223 of file sensor_fusion.h.
| int16_t MagSensor::iBsFIFO[MAG_FIFO_SIZE][3] |
FIFO measurements (counts)
Definition at line 217 of file sensor_fusion.h.
| int16_t MagSensor::iCountsPeruT |
counts per uT
Definition at line 225 of file sensor_fusion.h.
| uint8_t MagSensor::iFIFOCount |
number of measurements read from FIFO
Definition at line 215 of file sensor_fusion.h.
| uint16_t MagSensor::iFIFOExceeded |
Number of samples received in excess of software FIFO size.
Definition at line 216 of file sensor_fusion.h.
| bool MagSensor::isEnabled |
true if the device is sampling
Definition at line 214 of file sensor_fusion.h.
| uint8_t MagSensor::iWhoAmI |
sensor whoami
Definition at line 213 of file sensor_fusion.h.