first commit
This commit is contained in:
17
MPU6050/APP/imu.h
Normal file
17
MPU6050/APP/imu.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef __IMU_H
|
||||
#define __IMU_H
|
||||
|
||||
#include "alldata.h"
|
||||
|
||||
#define squa( Sq ) (((float)Sq)*((float)Sq))
|
||||
|
||||
|
||||
extern _st_AngE Angle;//<2F><>ǰ<EFBFBD>Ƕ<EFBFBD><C7B6><EFBFBD>ֵ̬
|
||||
|
||||
|
||||
extern void GetAngle(const _st_Mpu *pMpu,_st_AngE *pAngE, float dt);
|
||||
extern void imu_rest(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user