Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dorientation.c202 float fmodBxy; // modulus of the x, y magnetometer readings in f3DOFMagnetometerMatrixNED() local
205 fmodBxy = sqrtf(fBc[CHX] * fBc[CHX] + fBc[CHY] * fBc[CHY]); in f3DOFMagnetometerMatrixNED()
208 if (fmodBxy == 0.0F) in f3DOFMagnetometerMatrixNED()
219 fR[CHX][CHX] = fR[CHY][CHY] = fBc[CHX] / fmodBxy; in f3DOFMagnetometerMatrixNED()
220 fR[CHY][CHX] = fBc[CHY] / fmodBxy; in f3DOFMagnetometerMatrixNED()
232 float fmodBxy; // modulus of the x, y magnetometer readings in f3DOFMagnetometerMatrixAndroid() local
235 fmodBxy = sqrtf(fBc[CHX] * fBc[CHX] + fBc[CHY] * fBc[CHY]); in f3DOFMagnetometerMatrixAndroid()
238 if (fmodBxy == 0.0F) in f3DOFMagnetometerMatrixAndroid()
249 fR[CHX][CHX] = fR[CHY][CHY] = fBc[CHY] / fmodBxy; in f3DOFMagnetometerMatrixAndroid()
250 fR[CHX][CHY] = fBc[CHX] / fmodBxy; in f3DOFMagnetometerMatrixAndroid()