Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dorientation.c699 float fetadeg; // rotation angle (deg) in fQuaternionFromRotationVectorDeg() local
708fetadeg = fscaling * sqrtf(rvecdeg[CHX] * rvecdeg[CHX] + rvecdeg[CHY] * rvecdeg[CHY] + rvecdeg[CHZ… in fQuaternionFromRotationVectorDeg()
709 fetarad = fetadeg * FPIOVER180; in fQuaternionFromRotationVectorDeg()
733 if (fetadeg != 0.0F) in fQuaternionFromRotationVectorDeg()
736 ftmp = fscaling * sinhalfeta / fetadeg; in fQuaternionFromRotationVectorDeg()
849 float fetadeg; // rotation angle (deg) in fRotationVectorDegFromQuaternion() local
858 fetadeg = 0.0F; in fRotationVectorDegFromQuaternion()
864 fetadeg = fetarad * F180OVERPI; in fRotationVectorDegFromQuaternion()
868 if (fetadeg >= 180.0F) in fRotationVectorDegFromQuaternion()
870 fetadeg -= 360.0F; in fRotationVectorDegFromQuaternion()
[all …]