PDR/1.Software/Simualator/Src/Quaternion.h

33 lines
1020 B
C
Raw Normal View History

2023-12-02 22:46:06 +08:00
#ifndef _PDR_QUATERNION_H_
#define _PDR_QUATERNION_H_
#ifdef __cplusplus
extern "C" {
#endif
/**---------------------------------------------------------------------
* Function : QuaternionNorm
* Description : <EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><EFBFBD>
* Date : 2022/09/21 logzhan
*---------------------------------------------------------------------**/
void QuaternionNorm(float* q0, float* q1, float* q2, float* q3);
/**---------------------------------------------------------------------
* Function : QuaternConj
* Description : <EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD>
* Date : 2022/09/21 logzhan
*---------------------------------------------------------------------**/
void QuaternConj(float qc[], float q[]);
/**---------------------------------------------------------------------
* Function : QuaternProd
* Description : <EFBFBD><EFBFBD>Ԫ<EFBFBD><EFBFBD><EFBFBD>˷<EFBFBD>
* Date : 2022/09/21 logzhan
*---------------------------------------------------------------------**/
void QuaternProd(float qab[], float qa[], float qb[]);
#ifdef __cplusplus
}
#endif
#endif