![]() |
ISSDK
1.8
IoT Sensing Software Development Kit
|
The AccelSensor structure stores raw and processed measurements for a 3-axis accelerometer. More...
#include <sensor_fusion.h>

Data Fields | |
| uint8_t | iWhoAmI |
| sensor whoami More... | |
| bool | isEnabled |
| true if the device is sampling More... | |
| uint8_t | iFIFOCount |
| number of measurements read from FIFO More... | |
| uint16_t | iFIFOExceeded |
| Number of samples received in excess of software FIFO size. More... | |
| int16_t | iGsFIFO [ACCEL_FIFO_SIZE][3] |
| FIFO measurements (counts) More... | |
| float | fGs [3] |
| averaged measurement (g) More... | |
| float | fGc [3] |
| averaged precision calibrated measurement (g) More... | |
| float | fgPerCount |
| g per count More... | |
| float | fCountsPerg |
| counts per g More... | |
| int16_t | iGs [3] |
| averaged measurement (counts) More... | |
| int16_t | iGc [3] |
| averaged precision calibrated measurement (counts) More... | |
| int16_t | iCountsPerg |
| counts per g More... | |
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 192 of file sensor_fusion.h.
| float fCountsPerg |
counts per g
Definition at line 203 of file sensor_fusion.h.
| float fGc[3] |
averaged precision calibrated measurement (g)
Definition at line 201 of file sensor_fusion.h.
Referenced by fInit_3DOF_G_BASIC(), fInit_6DOF_GB_BASIC(), fInit_6DOF_GY_KALMAN(), fInit_9DOF_GBY_KALMAN(), fInvertAccelCal(), fRun_3DOF_G_BASIC(), fRun_6DOF_GB_BASIC(), and fRun_6DOF_GY_KALMAN().
| float fgPerCount |
g per count
Definition at line 202 of file sensor_fusion.h.
| float fGs[3] |
averaged measurement (g)
Definition at line 200 of file sensor_fusion.h.
Referenced by fInvertAccelCal(), and fUpdateAccelBuffer().
| int16_t iCountsPerg |
| uint8_t iFIFOCount |
number of measurements read from FIFO
Definition at line 196 of file sensor_fusion.h.
Referenced by addToFifo(), and ApplyAccelHAL().
| uint16_t iFIFOExceeded |
Number of samples received in excess of software FIFO size.
Definition at line 197 of file sensor_fusion.h.
Referenced by addToFifo().
| int16_t iGc[3] |
averaged precision calibrated measurement (counts)
Definition at line 205 of file sensor_fusion.h.
Referenced by fInvertAccelCal().
| int16_t iGs[3] |
averaged measurement (counts)
Definition at line 204 of file sensor_fusion.h.
| int16_t iGsFIFO[ACCEL_FIFO_SIZE][3] |
FIFO measurements (counts)
Definition at line 198 of file sensor_fusion.h.
Referenced by addToFifo(), and ApplyAccelHAL().
| bool isEnabled |
true if the device is sampling
Definition at line 195 of file sensor_fusion.h.
| uint8_t iWhoAmI |
sensor whoami
Definition at line 194 of file sensor_fusion.h.