Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dmagnetic.h98 void iUpdateMagBuffer(struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag, int32_t loopcou…
99 void fInvertMagCal(struct MagSensor *pthisMag, struct MagCalibration *pthisMagCal);
100 …ation *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSensor* pthisMag, int32_t loopcoun…
101 …(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag);
102 …(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag);
103 …(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag);
104 …(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag);
105 …(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag);
106 …(struct MagCalibration *pthisMagCal, struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag);
Dfusion.h75 struct AccelSensor *pthisAccel, struct MagSensor *pthisMag, struct GyroSensor *pthisGyro,
79 void fInit_3DOF_B_BASIC(struct SV_3DOF_B_BASIC *pthisSV, struct MagSensor *pthisMag, float flpftime…
81 …OF_GB_BASIC *pthisSV, struct AccelSensor *pthisAccel, struct MagSensor *pthisMag, float flpftimese…
83 …MAN(struct SV_9DOF_GBY_KALMAN *pthisSV, struct AccelSensor *pthisAccel, struct MagSensor *pthisMag,
87 void fRun_3DOF_B_BASIC(struct SV_3DOF_B_BASIC *pthisSV, struct MagSensor *pthisMag);
89 void fRun_6DOF_GB_BASIC(struct SV_6DOF_GB_BASIC *pthisSV, struct MagSensor *pthisMag, struct AccelS…
91 …_GBY_KALMAN *pthisSV, struct AccelSensor *pthisAccel, struct MagSensor *pthisMag, struct GyroSenso…
Dmagnetic.c91 void iUpdateMagBuffer(struct MagBuffer *pthisMagBuffer, struct MagSensor *pthisMag, in iUpdateMagBuffer() argument
106 if (pthisMag->iBc[CHZ] == 0) return; in iUpdateMagBuffer()
107 itanj = (100 * (int32) pthisMag->iBc[CHX]) / ((int32) pthisMag->iBc[CHZ]); in iUpdateMagBuffer()
108 itank = (100 * (int32) pthisMag->iBc[CHY]) / ((int32) pthisMag->iBc[CHZ]); in iUpdateMagBuffer()
118 if (pthisMag->iBc[CHX] < 0) k += MAGBUFFSIZEX; in iUpdateMagBuffer()
128 pthisMagBuffer->iBs[i][j][k] = pthisMag->iBs[i]; in iUpdateMagBuffer()
143 pthisMagBuffer->iBs[i][j][k] = pthisMag->iBs[i]; in iUpdateMagBuffer()
184 pthisMagBuffer->iBs[i][j][k] = pthisMag->iBs[i]; in iUpdateMagBuffer()
201 idelta += abs((int32) pthisMag->iBs[i] - in iUpdateMagBuffer()
211 pthisMagBuffer->iBs[i][j][k] = pthisMag->iBs[i]; in iUpdateMagBuffer()
[all …]
Dfusion.c76 struct MagSensor *pthisMag, in fFuseSensors() argument
106 fRun_3DOF_B_BASIC(pthisSV_3DOF_B_BASIC, pthisMag); in fFuseSensors()
126 fRun_6DOF_GB_BASIC(pthisSV_6DOF_GB_BASIC, pthisMag, pthisAccel); in fFuseSensors()
146 fRun_9DOF_GBY_KALMAN(pthisSV_9DOF_GBY_KALMAN, pthisAccel, pthisMag, in fFuseSensors()
208 struct MagSensor *pthisMag, float flpftimesecs) in fInit_3DOF_B_BASIC() argument
221 f3DOFMagnetometerMatrixNED(pthisSV->fLPR, pthisMag->fBc); in fInit_3DOF_B_BASIC()
223 f3DOFMagnetometerMatrixAndroid(pthisSV->fLPR, pthisMag->fBc); in fInit_3DOF_B_BASIC()
225 f3DOFMagnetometerMatrixWin8(pthisSV->fLPR, pthisMag->fBc); in fInit_3DOF_B_BASIC()
252 struct MagSensor *pthisMag, float flpftimesecs) in fInit_6DOF_GB_BASIC() argument
267 …feCompassNED(pthisSV->fLPR, &(pthisSV->fLPDelta), &ftmp, &ftmp, pthisMag->fBc, pthisAccel->fGc, &f… in fInit_6DOF_GB_BASIC()
[all …]