Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dorientation.c701 float fetarad2; // eta (rad)^2 in fQuaternionFromRotationVectorDeg() local
710 fetarad2 = fetarad * fetarad; in fQuaternionFromRotationVectorDeg()
714 if (fetarad2 <= 0.02F) in fQuaternionFromRotationVectorDeg()
717 sinhalfeta = fetarad * (0.5F - ONEOVER48 * fetarad2); in fQuaternionFromRotationVectorDeg()
719 else if (fetarad2 <= 0.06F) in fQuaternionFromRotationVectorDeg()
723 fetarad4 = fetarad2 * fetarad2; in fQuaternionFromRotationVectorDeg()
724 sinhalfeta = fetarad * (0.5F - ONEOVER48 * fetarad2 + ONEOVER3840 * fetarad4); in fQuaternionFromRotationVectorDeg()