Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dorientation.c700 float fetarad; // rotation angle (rad) in fQuaternionFromRotationVectorDeg() local
709 fetarad = fetadeg * FPIOVER180; in fQuaternionFromRotationVectorDeg()
710 fetarad2 = fetarad * fetarad; in fQuaternionFromRotationVectorDeg()
717 sinhalfeta = fetarad * (0.5F - ONEOVER48 * fetarad2); in fQuaternionFromRotationVectorDeg()
724 sinhalfeta = fetarad * (0.5F - ONEOVER48 * fetarad2 + ONEOVER3840 * fetarad4); in fQuaternionFromRotationVectorDeg()
729 sinhalfeta = (float)sinf(0.5F * fetarad); in fQuaternionFromRotationVectorDeg()
848 float fetarad; // rotation angle (rad) in fRotationVectorDegFromQuaternion() local
857 fetarad = 0.0F; in fRotationVectorDegFromQuaternion()
863 fetarad = 2.0F * acosf(pq->q0); in fRotationVectorDegFromQuaternion()
864 fetadeg = fetarad * F180OVERPI; in fRotationVectorDegFromQuaternion()
[all …]