Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dorientation.c492 void fNEDAnglesDegFromRotationMatrix(float R[][3], float *pfPhiDeg, float *pfTheDeg, float *pfPsiDe… in fNEDAnglesDegFromRotationMatrix() argument
496 *pfTheDeg = fasin_deg(-R[CHX][CHZ]); in fNEDAnglesDegFromRotationMatrix()
508 if (*pfTheDeg == 90.0F) in fNEDAnglesDegFromRotationMatrix()
513 else if (*pfTheDeg == -90.0F) in fNEDAnglesDegFromRotationMatrix()
548 void fAndroidAnglesDegFromRotationMatrix(float R[][3], float *pfPhiDeg, float *pfTheDeg, float *pfP… in fAndroidAnglesDegFromRotationMatrix() argument
555 *pfTheDeg = fatan2_deg(-R[CHY][CHZ], R[CHZ][CHZ]); in fAndroidAnglesDegFromRotationMatrix()
558 if (*pfTheDeg == 180.0F) in fAndroidAnglesDegFromRotationMatrix()
560 *pfTheDeg = -180.0F; in fAndroidAnglesDegFromRotationMatrix()
567 *pfPsiDeg = fatan2_deg(R[CHY][CHX], R[CHY][CHY]) - *pfTheDeg; in fAndroidAnglesDegFromRotationMatrix()
572 *pfPsiDeg = fatan2_deg(R[CHY][CHX], R[CHY][CHY]) + *pfTheDeg; in fAndroidAnglesDegFromRotationMatrix()
[all …]
Dorientation.h96 float *pfTheDeg, ///< output: the pitch angle -90.0 <= Theta <= 90.0 deg
105 float *pfTheDeg, ///< the pitch angle -180.0 <= The < 180.0 deg
114 float *pfTheDeg, ///< pitch angle Theta in the range -180.0 <= The < 180.0 deg