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

SV_6DOF_GY_KALMAN is the 6DOF Kalman filter accelerometer and gyroscope state vector structure. More...

#include <sensor_fusion.h>

Collaboration diagram for SV_6DOF_GY_KALMAN:
Collaboration graph

Data Fields

float fPhiPl
 roll (deg) More...
 
float fThePl
 pitch (deg) More...
 
float fPsiPl
 yaw (deg) More...
 
float fRhoPl
 compass (deg) More...
 
float fChiPl
 tilt from vertical (deg) More...
 
float fRPl [3][3]
 a posteriori orientation matrix More...
 
Quaternion fqPl
 a posteriori orientation quaternion More...
 
float fRVecPl [3]
 rotation vector More...
 
float fOmega [3]
 average angular velocity (deg/s) More...
 
int32_t systick
 systick timer; More...
 
float fQw6x6 [6][6]
 covariance matrix Qw More...
 
float fK6x3 [6][3]
 kalman filter gain matrix K More...
 
float fQwCT6x3 [6][3]
 Qw.C^T matrix. More...
 
float fQv
 measurement noise covariance matrix leading diagonal More...
 
float fZErr [3]
 measurement error vector More...
 
float fqgErrPl [3]
 gravity vector tilt orientation quaternion error (dimensionless) More...
 
float fbPl [3]
 gyro offset (deg/s) More...
 
float fbErrPl [3]
 gyro offset error (deg/s) More...
 
float fAccGl [3]
 linear acceleration (g) in global frame More...
 
float fdeltat
 sensor fusion interval (s) More...
 
float fAlphaOver2
 PI / 180 * fdeltat / 2. More...
 
float fAlphaSqOver4
 (PI / 180 * fdeltat)^2 / 4 More...
 
float fAlphaSqQvYQwbOver12
 (PI / 180 * fdeltat)^2 * (QvY + Qwb) / 12 More...
 
float fAlphaQwbOver6
 (PI / 180 * fdeltat) * Qwb / 6 More...
 
float fQwbOver3
 Qwb / 3. More...
 
float fMaxGyroOffsetChange
 maximum permissible gyro offset change per iteration (deg/s) More...
 
int8_t resetflag
 flag to request re-initialization on next pass More...
 

Detailed Description

SV_6DOF_GY_KALMAN is the 6DOF Kalman filter accelerometer and gyroscope state vector structure.

Definition at line 358 of file sensor_fusion.h.

Field Documentation

◆ fAccGl

float fAccGl[3]

linear acceleration (g) in global frame

Definition at line 380 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fAlphaOver2

float fAlphaOver2

PI / 180 * fdeltat / 2.

Definition at line 382 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fAlphaQwbOver6

float fAlphaQwbOver6

(PI / 180 * fdeltat) * Qwb / 6

Definition at line 385 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN().

◆ fAlphaSqOver4

float fAlphaSqOver4

(PI / 180 * fdeltat)^2 / 4

Definition at line 383 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fAlphaSqQvYQwbOver12

float fAlphaSqQvYQwbOver12

(PI / 180 * fdeltat)^2 * (QvY + Qwb) / 12

Definition at line 384 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fbErrPl

float fbErrPl[3]

gyro offset error (deg/s)

Definition at line 379 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fbPl

float fbPl[3]

gyro offset (deg/s)

Definition at line 378 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fChiPl

float fChiPl

tilt from vertical (deg)

Definition at line 365 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fdeltat

float fdeltat

sensor fusion interval (s)

Definition at line 381 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fK6x3

float fK6x3[6][3]

kalman filter gain matrix K

Definition at line 373 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fMaxGyroOffsetChange

float fMaxGyroOffsetChange

maximum permissible gyro offset change per iteration (deg/s)

Definition at line 387 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fOmega

float fOmega[3]

average angular velocity (deg/s)

Definition at line 369 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fPhiPl

float fPhiPl

roll (deg)

Definition at line 361 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fPsiPl

float fPsiPl

yaw (deg)

Definition at line 363 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fqgErrPl

float fqgErrPl[3]

gravity vector tilt orientation quaternion error (dimensionless)

Definition at line 377 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fqPl

Quaternion fqPl

a posteriori orientation quaternion

Definition at line 367 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fQv

float fQv

measurement noise covariance matrix leading diagonal

Definition at line 375 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fQw6x6

float fQw6x6[6][6]

covariance matrix Qw

Definition at line 372 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fQwbOver3

float fQwbOver3

Qwb / 3.

Definition at line 386 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fQwCT6x3

float fQwCT6x3[6][3]

Qw.C^T matrix.

Definition at line 374 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fRhoPl

float fRhoPl

compass (deg)

Definition at line 364 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fRPl

float fRPl[3][3]

a posteriori orientation matrix

Definition at line 366 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fRVecPl

float fRVecPl[3]

rotation vector

Definition at line 368 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fThePl

float fThePl

pitch (deg)

Definition at line 362 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fZErr

float fZErr[3]

measurement error vector

Definition at line 376 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ resetflag

int8_t resetflag

flag to request re-initialization on next pass

Definition at line 388 of file sensor_fusion.h.

Referenced by fInit_6DOF_GY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ systick

int32_t systick

systick timer;

Definition at line 370 of file sensor_fusion.h.

Referenced by fFuseSensors().


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