Files
foc_Gimbal/IMU/imu.h

17 lines
336 B
C
Raw Normal View History

2024-01-24 15:56:10 +08:00
#ifndef __IMU_H
#define __IMU_H
#include "mymain.h"
#include "alldata.h"
#define squa( Sq ) (((float)Sq)*((float)Sq))
extern _st_AngE Angle;//<2F><>ǰ<EFBFBD>Ƕ<EFBFBD><C7B6><EFBFBD>ֵ̬
void GetAngle(const _st_Mpu *pMpu,_st_AngE *pAngE);
// extern void GetAngle(const _st_Mpu *pMpu,_st_AngE *pAngE, float dt);
extern void imu_rest(void);
#endif