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

SV_9DOF_GBY_KALMAN is the 9DOF Kalman filter accelerometer, magnetometer and gyroscope state vector structure. More...

#include <sensor_fusion.h>

Collaboration diagram for SV_9DOF_GBY_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 fQw9x9 [9][9]
 covariance matrix Qw More...
 
float fK9x6 [9][6]
 kalman filter gain matrix K More...
 
float fQwCT9x6 [9][6]
 Qw.C^T matrix. More...
 
float fZErr [6]
 measurement error vector More...
 
float fQv6x1 [6]
 measurement noise covariance matrix leading diagonal More...
 
float fDeltaPl
 a posteriori inclination angle from Kalman filter (deg) More...
 
float fsinDeltaPl
 sin(fDeltaPl) More...
 
float fcosDeltaPl
 cos(fDeltaPl) More...
 
float fqgErrPl [3]
 gravity vector tilt orientation quaternion error (dimensionless) More...
 
float fqmErrPl [3]
 geomagnetic 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 fVelGl [3]
 velocity (m/s) in global frame More...
 
float fDisGl [3]
 displacement (m) in global frame More...
 
float fdeltat
 sensor fusion interval (s) More...
 
float fgdeltat
 g (m/s2) * fdeltat 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 iFirstAccelMagLock
 denotes that 9DOF orientation has locked to 6DOF eCompass More...
 
int8_t resetflag
 flag to request re-initialization on next pass More...
 

Detailed Description

SV_9DOF_GBY_KALMAN is the 9DOF Kalman filter accelerometer, magnetometer and gyroscope state vector structure.

Definition at line 392 of file sensor_fusion.h.

Field Documentation

◆ fAccGl

float fAccGl[3]

linear acceleration (g) in global frame

Definition at line 418 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fAlphaOver2

float fAlphaOver2

PI / 180 * fdeltat / 2.

Definition at line 423 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fAlphaQwbOver6

float fAlphaQwbOver6

(PI / 180 * fdeltat) * Qwb / 6

Definition at line 426 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN().

◆ fAlphaSqOver4

float fAlphaSqOver4

(PI / 180 * fdeltat)^2 / 4

Definition at line 424 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fAlphaSqQvYQwbOver12

float fAlphaSqQvYQwbOver12

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

Definition at line 425 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fbErrPl

float fbErrPl[3]

gyro offset error (deg/s)

Definition at line 417 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fbPl

float fbPl[3]

gyro offset (deg/s)

Definition at line 416 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fChiPl

float fChiPl

tilt from vertical (deg)

Definition at line 399 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fcosDeltaPl

float fcosDeltaPl

cos(fDeltaPl)

Definition at line 413 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fDeltaPl

float fDeltaPl

a posteriori inclination angle from Kalman filter (deg)

Definition at line 411 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fdeltat

float fdeltat

sensor fusion interval (s)

Definition at line 421 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fDisGl

float fDisGl[3]

displacement (m) in global frame

Definition at line 420 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fgdeltat

float fgdeltat

g (m/s2) * fdeltat

Definition at line 422 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fK9x6

float fK9x6[9][6]

kalman filter gain matrix K

Definition at line 407 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 428 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fOmega

float fOmega[3]

average angular velocity (deg/s)

Definition at line 403 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fPhiPl

float fPhiPl

roll (deg)

Definition at line 395 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fPsiPl

float fPsiPl

yaw (deg)

Definition at line 397 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 414 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fqmErrPl

float fqmErrPl[3]

geomagnetic vector tilt orientation quaternion error (dimensionless)

Definition at line 415 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fqPl

Quaternion fqPl

a posteriori orientation quaternion

Definition at line 401 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fQv6x1

float fQv6x1[6]

measurement noise covariance matrix leading diagonal

Definition at line 410 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fQw9x9

float fQw9x9[9][9]

covariance matrix Qw

Definition at line 406 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fQwbOver3

float fQwbOver3

Qwb / 3.

Definition at line 427 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fQwCT9x6

float fQwCT9x6[9][6]

Qw.C^T matrix.

Definition at line 408 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fRhoPl

float fRhoPl

compass (deg)

Definition at line 398 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fRPl

float fRPl[3][3]

a posteriori orientation matrix

Definition at line 400 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fRVecPl

float fRVecPl[3]

rotation vector

Definition at line 402 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fsinDeltaPl

float fsinDeltaPl

sin(fDeltaPl)

Definition at line 412 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fThePl

float fThePl

pitch (deg)

Definition at line 396 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ fVelGl

float fVelGl[3]

velocity (m/s) in global frame

Definition at line 419 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ fZErr

float fZErr[6]

measurement error vector

Definition at line 409 of file sensor_fusion.h.

Referenced by fRun_6DOF_GY_KALMAN().

◆ iFirstAccelMagLock

int8_t iFirstAccelMagLock

denotes that 9DOF orientation has locked to 6DOF eCompass

Definition at line 429 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ resetflag

int8_t resetflag

flag to request re-initialization on next pass

Definition at line 430 of file sensor_fusion.h.

Referenced by fInit_9DOF_GBY_KALMAN(), and fRun_6DOF_GY_KALMAN().

◆ systick

int32_t systick

systick timer;

Definition at line 404 of file sensor_fusion.h.

Referenced by fFuseSensors().


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