#ifndef _PRECESS_RESULT_H_ #define _PRECESS_RESULT_H_ #include "main.h" #include #include #include #include #define GYR_LSB 16.384f #define ACC_LSB 8192.0f #define DEX_NUM 0 #define GRAVITY 9.788f extern short gyro[3]; extern short accel[3]; extern uint16_t s_press; extern uint16_t h_press; extern int16_t s_gyro[3]; extern int16_t s_pos[3]; extern void press_minimum_eval(int, int, short, short); extern short press_down_detect_new(int, int, int); extern short press_jump_detect(short*, short*); extern short footPDR(int, float*, float*, int, int16_t*, int16_t*, int16_t*); extern void send_protocol(uint8_t ,uint8_t ,uint8_t* ,uint8_t ); #endif