Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dmagnetic.c529 int32 iBsZeroMean[3]; // zero mean magnetic buffer measurement (counts) in fUpdateMagCalibration4Slice() local
539iBsZeroMean[k] = (int32) pthisMagBuffer->iBs[k][i][j] - (int32) pthisMagCal->iMeanBs[k]; in fUpdateMagCalibration4Slice()
542 pthisMagCal->fmatA[0][0] += (float) (iBsZeroMean[0] * iBsZeroMean[0]); in fUpdateMagCalibration4Slice()
543 pthisMagCal->fmatA[0][1] += (float) (iBsZeroMean[0] * iBsZeroMean[1]); in fUpdateMagCalibration4Slice()
544 pthisMagCal->fmatA[0][2] += (float) (iBsZeroMean[0] * iBsZeroMean[2]); in fUpdateMagCalibration4Slice()
545 pthisMagCal->fmatA[1][1] += (float) (iBsZeroMean[1] * iBsZeroMean[1]); in fUpdateMagCalibration4Slice()
546 pthisMagCal->fmatA[1][2] += (float) (iBsZeroMean[1] * iBsZeroMean[2]); in fUpdateMagCalibration4Slice()
547 pthisMagCal->fmatA[2][2] += (float) (iBsZeroMean[2] * iBsZeroMean[2]); in fUpdateMagCalibration4Slice()
552 iBsZeroMean[CHX] * in fUpdateMagCalibration4Slice()
553 iBsZeroMean[CHX] + in fUpdateMagCalibration4Slice()
[all …]