first commit
This commit is contained in:
25
IMU/alldata.h
Normal file
25
IMU/alldata.h
Normal file
@ -0,0 +1,25 @@
|
||||
#ifndef __ALLDATA_H
|
||||
#define __ALLDATA_H
|
||||
#include "main.h"
|
||||
|
||||
typedef struct{
|
||||
int16_t accX;
|
||||
int16_t accY;
|
||||
int16_t accZ;
|
||||
int16_t gyroX;
|
||||
int16_t gyroY;
|
||||
int16_t gyroZ;
|
||||
}_st_Mpu;
|
||||
|
||||
typedef struct{
|
||||
float roll;
|
||||
float pitch;
|
||||
float yaw;
|
||||
}_st_AngE;
|
||||
|
||||
extern _st_Mpu ICM42688;
|
||||
extern _st_AngE Angle;
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user