Home
last modified time | relevance | path

Searched refs:fvecB (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dmagnetic.c612 pthisMagCal->fvecB[i] = pthisMagCal->fmatB[i][0] * pthisMagCal->fvecA[0]; in fUpdateMagCalibration4Slice()
614 pthisMagCal->fvecB[i] += pthisMagCal->fmatB[i][j] * pthisMagCal->fvecA[j]; in fUpdateMagCalibration4Slice()
620 pthisMagCal->ftrV[i] = ftmp * pthisMagCal->fvecB[i]; in fUpdateMagCalibration4Slice()
623 pthisMagCal->ftrB = pthisMagCal->fvecB[3] * in fUpdateMagCalibration4Slice()
637 fE = pthisMagCal->fvecB[0] * pthisMagCal->fvecA[0]; in fUpdateMagCalibration4Slice()
639 fE += pthisMagCal->fvecB[i] * pthisMagCal->fvecA[i]; in fUpdateMagCalibration4Slice()
647 pthisMagCal->fvecA[i] = pthisMagCal->fmatA[i][0] * pthisMagCal->fvecB[0]; in fUpdateMagCalibration4Slice()
649 pthisMagCal->fvecA[i] += pthisMagCal->fmatA[i][j] * pthisMagCal->fvecB[j]; in fUpdateMagCalibration4Slice()
654 fE += pthisMagCal->fvecB[i] * pthisMagCal->fvecA[i]; in fUpdateMagCalibration4Slice()
1426 pthisMagCal->fvecB[i] = 0.0F; in fComputeMagCalibration4()
[all …]
DprecisionAccelerometer.c302 pthisAccelCal->fvecB[i] = 0.0F; in fComputeAccelCalibration4()
305 pthisAccelCal->fvecB[i] += pthisAccelCal->fmatA[i][j] * pthisAccelCal->fvecA[j]; in fComputeAccelCalibration4()
310 pthisAccelCal->fV[CHX] = 0.5F * pthisAccelCal->fvecB[CHX]; in fComputeAccelCalibration4()
311 pthisAccelCal->fV[CHY] = 0.5F * pthisAccelCal->fvecB[CHY]; in fComputeAccelCalibration4()
312 pthisAccelCal->fV[CHZ] = 0.5F * pthisAccelCal->fvecB[CHZ]; in fComputeAccelCalibration4()
315 ftmp = 1.0F / sqrtf(fabsf(pthisAccelCal->fvecB[3] + pthisAccelCal->fV[CHX] * in fComputeAccelCalibration4()
DprecisionAccelerometer.h41 float fvecB[4]; ///< scratch 4x1 vector used by calibration algorithms member
Dmagnetic.h75 float fvecB[4]; ///< scratch 4x1 vector used by calibration algorithms member