1234567891011121314151617181920 |
- #ifndef _TURNDETECTION_H_
- #define _TURNDETECTION_H_
- //---------------include
- #include "main.h"
- #include "stdio.h"
- #include "atk_ms6050.h"
- #include <math.h>
- #include <stdint.h>
- //---------------param
- extern uint8_t turnFlag;
- extern float previousYaw; // Yaw£¨Æ«º½½Ç£©
- //---------------fun
- extern int isTurning(void);
- #endif
|