ISSDK  1.8
IoT Sensing Software Development Kit
Data Fields
GyroSensor Struct Reference

The GyroSensor structure stores raw and processed measurements for a 3-axis gyroscope. More...

#include <sensor_fusion.h>

Collaboration diagram for GyroSensor:
Collaboration graph

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 iYsFIFO [GYRO_FIFO_SIZE][3]
 FIFO measurements (counts) More...
 
float fYs [3]
 averaged measurement (deg/s) More...
 
float fDegPerSecPerCount
 deg/s per count More...
 
int16_t iCountsPerDegPerSec
 counts per deg/s More...
 
int16_t iYs [3]
 average measurement (counts) More...
 

Detailed Description

The GyroSensor structure stores raw and processed measurements for a 3-axis gyroscope.

The GyroSensor structure stores raw and processed measurements, as well as metadata for a single 3-axis gyroscope. This structure is normally "fed" by the sensor driver and "consumed" by the fusion routines.

Definition at line 236 of file sensor_fusion.h.

Field Documentation

◆ fDegPerSecPerCount

float fDegPerSecPerCount

deg/s per count

Definition at line 245 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fYs

float fYs[3]

averaged measurement (deg/s)

Definition at line 244 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), fInit_9DOF_GBY_KALMAN(), and fRun_3DOF_Y_BASIC().

◆ iCountsPerDegPerSec

int16_t iCountsPerDegPerSec

counts per deg/s

Definition at line 246 of file sensor_fusion.h.

◆ iFIFOCount

uint8_t iFIFOCount

number of measurements read from FIFO

Definition at line 240 of file sensor_fusion.h.

Referenced by ApplyGyroHAL(), and fRun_6DOF_GY_KALMAN().

◆ iFIFOExceeded

uint16_t iFIFOExceeded

Number of samples received in excess of software FIFO size.

Definition at line 241 of file sensor_fusion.h.

◆ isEnabled

bool isEnabled

true if the device is sampling

Definition at line 239 of file sensor_fusion.h.

◆ iWhoAmI

uint8_t iWhoAmI

sensor whoami

Definition at line 238 of file sensor_fusion.h.

◆ iYs

int16_t iYs[3]

average measurement (counts)

Definition at line 247 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ iYsFIFO

int16_t iYsFIFO[GYRO_FIFO_SIZE][3]

FIFO measurements (counts)

Definition at line 242 of file sensor_fusion.h.

Referenced by ApplyGyroHAL(), and fRun_6DOF_GY_KALMAN().


The documentation for this struct was generated from the following file: