Home
last modified time | relevance | path

Searched refs:fV (Results 1 – 5 of 5) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
DprecisionAccelerometer.c40 for (i = CHX; i <= CHZ; i++) pthisAccelCal->fV[i] = *(pFlash++); in fInitializeAccelCalibration()
53 pthisAccelCal->fV[CHX] = pthisAccelCal->fV[CHY] = pthisAccelCal->fV[CHZ] = 0.0F; in fInitializeAccelCalibration()
127 ftmp[i] = pthisAccel->fGs[i] - pthisAccelCal->fV[i]; in fInvertAccelCal()
195 fGc0[i] = pthisAccelBuffer->fGsStored[0][i] - pthisAccelCal->fV[i]; in fRunAccelCalibration()
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()
316 pthisAccelCal->fV[CHX] + pthisAccelCal->fV[CHY] * in fComputeAccelCalibration4()
317 pthisAccelCal->fV[CHY] + pthisAccelCal->fV[CHZ] * in fComputeAccelCalibration4()
[all …]
Doutput_stream.c622 scratch16 = (int16_t) (sfg->MagCal.fV[CHX] * 10.0F); in CreateAndSendPackets()
624 scratch16 = (int16_t) (sfg->MagCal.fV[CHY] * 10.0F); in CreateAndSendPackets()
626 scratch16 = (int16_t) (sfg->MagCal.fV[CHZ] * 10.0F); in CreateAndSendPackets()
876 scratch16 = (int16_t) (sfg->AccelCal.fV[CHX] * 32768.0F); in CreateAndSendPackets()
878 scratch16 = (int16_t) (sfg->AccelCal.fV[CHY] * 32768.0F); in CreateAndSendPackets()
880 scratch16 = (int16_t) (sfg->AccelCal.fV[CHZ] * 32768.0F); in CreateAndSendPackets()
DprecisionAccelerometer.h34 float fV[3]; ///< offset vector (g) member
Dmagnetic.h58 float fV[3]; ///< current hard iron offset x, y, z, (uT) member
Dmagnetic.c52 for (i = CHX; i <= CHZ; i++) pthisMagCal->fV[i] = *(pFlash++); in fInitializeMagCalibration()
66 pthisMagCal->fV[CHX] = pthisMagCal->fV[CHY] = pthisMagCal->fV[CHZ] = 0.0F; in fInitializeMagCalibration()
294 ftmp[i] = pthisMag->fBs[i] - pthisMagCal->fV[i]; in fInvertMagCal()
412 pthisMagCal->fV[i] = pthisMagCal->ftrV[i]; in fRunMagCalibration()