Searched refs:pthisMagCal (Results 1 – 4 of 4) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/ |
D | magnetic.c | 24 void fInitializeMagCalibration(struct MagCalibration *pthisMagCal, in fInitializeMagCalibration() argument 52 for (i = CHX; i <= CHZ; i++) pthisMagCal->fV[i] = *(pFlash++); in fInitializeMagCalibration() 55 pthisMagCal->finvW[i][j] = *(pFlash++); in fInitializeMagCalibration() 56 pthisMagCal->fB = *(pFlash++); in fInitializeMagCalibration() 57 pthisMagCal->fBSq = *(pFlash++); in fInitializeMagCalibration() 58 pthisMagCal->fFitErrorpc = *(pFlash++); in fInitializeMagCalibration() 59 pthisMagCal->iValidMagCal = *((int32 *) pFlash); in fInitializeMagCalibration() 66 pthisMagCal->fV[CHX] = pthisMagCal->fV[CHY] = pthisMagCal->fV[CHZ] = 0.0F; in fInitializeMagCalibration() 67 f3x3matrixAeqI(pthisMagCal->finvW); in fInitializeMagCalibration() 68 pthisMagCal->fB = DEFAULTB; in fInitializeMagCalibration() [all …]
|
D | magnetic.h | 97 void fInitializeMagCalibration(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer… 99 void fInvertMagCal(struct MagSensor *pthisMag, struct MagCalibration *pthisMagCal); 100 void fRunMagCalibration(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struc… 101 void fUpdateMagCalibration4(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, s… 102 void fUpdateMagCalibration7(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, s… 103 void fUpdateMagCalibration10(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, … 104 void fUpdateMagCalibration4Slice(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuff… 105 void fUpdateMagCalibration7Slice(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuff… 106 void fUpdateMagCalibration10Slice(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuf…
|
D | fusion.h | 76 struct PressureSensor *pthisPressure, struct MagCalibration *pthisMagCal); 84 struct GyroSensor *pthisGyro, struct MagCalibration *pthisMagCal); 91 …cel, struct MagSensor *pthisMag, struct GyroSensor *pthisGyro, struct MagCalibration *pthisMagCal);
|
D | fusion.c | 79 struct MagCalibration *pthisMagCal) in fFuseSensors() argument 147 pthisGyro, pthisMagCal); in fFuseSensors() 347 struct GyroSensor *pthisGyro, struct MagCalibration *pthisMagCal) in fInit_9DOF_GBY_KALMAN() argument 1023 struct MagCalibration *pthisMagCal) in fRun_9DOF_GBY_KALMAN() argument 1061 fInit_9DOF_GBY_KALMAN(pthisSV, pthisAccel, pthisMag, pthisGyro, pthisMagCal); in fRun_9DOF_GBY_KALMAN() 1113 ftmp = fmodBc - pthisMagCal->fB; in fRun_9DOF_GBY_KALMAN() 1121 if (pthisMagCal->iValidMagCal && !pthisSV->iFirstAccelMagLock) { in fRun_9DOF_GBY_KALMAN() 1226 …pthisSV->fQv6x1[3] = pthisSV->fQv6x1[4] = pthisSV->fQv6x1[5] = ONEOVER12 * fQvBQd / pthisMagCal->f… in fRun_9DOF_GBY_KALMAN()
|