|
Sensor Fusion Library 0.6.1
Orientation sensing for Espressif (ESP32, ESP8266) processors
|
The AccelSensor structure stores raw and processed measurements for a 3-axis accelerometer. 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 | iGsFIFO [ACCEL_FIFO_SIZE][3] |
| FIFO measurements (counts) | |
| float | fGs [3] |
| averaged measurement (g) | |
| float | fGc [3] |
| averaged precision calibrated measurement (g) | |
| float | fgPerCount |
| g per count | |
| float | fCountsPerg |
| counts per g | |
| int16_t | iGs [3] |
| averaged measurement (counts) | |
| int16_t | iGc [3] |
| averaged precision calibrated measurement (counts) | |
| int16_t | iCountsPerg |
| counts per g | |
The AccelSensor structure stores raw and processed measurements for a 3-axis accelerometer.
The AccelSensor structure stores raw and processed measurements, as well as metadata for a single 3-axis accelerometer. This structure is normally "fed" by the sensor driver and "consumed" by the fusion routines.
Definition at line 189 of file sensor_fusion.h.
| float AccelSensor::fCountsPerg |
counts per g
Definition at line 200 of file sensor_fusion.h.
| float AccelSensor::fGc[3] |
averaged precision calibrated measurement (g)
Definition at line 198 of file sensor_fusion.h.
| float AccelSensor::fgPerCount |
g per count
Definition at line 199 of file sensor_fusion.h.
| float AccelSensor::fGs[3] |
averaged measurement (g)
Definition at line 197 of file sensor_fusion.h.
| int16_t AccelSensor::iCountsPerg |
counts per g
Definition at line 203 of file sensor_fusion.h.
| uint8_t AccelSensor::iFIFOCount |
number of measurements read from FIFO
Definition at line 193 of file sensor_fusion.h.
| uint16_t AccelSensor::iFIFOExceeded |
Number of samples received in excess of software FIFO size.
Definition at line 194 of file sensor_fusion.h.
| int16_t AccelSensor::iGc[3] |
averaged precision calibrated measurement (counts)
Definition at line 202 of file sensor_fusion.h.
| int16_t AccelSensor::iGs[3] |
averaged measurement (counts)
Definition at line 201 of file sensor_fusion.h.
| int16_t AccelSensor::iGsFIFO[ACCEL_FIFO_SIZE][3] |
FIFO measurements (counts)
Definition at line 195 of file sensor_fusion.h.
| bool AccelSensor::isEnabled |
true if the device is sampling
Definition at line 192 of file sensor_fusion.h.
| uint8_t AccelSensor::iWhoAmI |
sensor whoami
Definition at line 191 of file sensor_fusion.h.