Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dorientation.c704 float fvecsq; // q1^2+q2^2+q3^2 in fQuaternionFromRotationVectorDeg() local
749 fvecsq = pq->q1 * pq->q1 + pq->q2 * pq->q2 + pq->q3 * pq->q3; in fQuaternionFromRotationVectorDeg()
750 if (fvecsq <= 1.0F) in fQuaternionFromRotationVectorDeg()
753 pq->q0 = sqrtf(1.0F - fvecsq); in fQuaternionFromRotationVectorDeg()