process_result.h 712 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _PRECESS_RESULT_H_
  2. #define _PRECESS_RESULT_H_
  3. #include "main.h"
  4. #include <stdio.h>
  5. #include <stdint.h>
  6. #include <stdbool.h>
  7. #include <string.h>
  8. #define GYR_LSB 16.384f
  9. #define ACC_LSB 8192.0f
  10. #define DEX_NUM 0
  11. #define GRAVITY 9.788f
  12. extern short gyro[3];
  13. extern short accel[3];
  14. extern uint16_t s_press;
  15. extern uint16_t h_press;
  16. extern int16_t s_gyro[3];
  17. extern int16_t s_pos[3];
  18. extern void press_minimum_eval(int, int, short, short);
  19. extern short press_down_detect_new(int, int, int);
  20. extern short press_jump_detect(short*, short*);
  21. extern short footPDR(int, float*, float*, int, int16_t*, int16_t*, int16_t*);
  22. extern void send_protocol(uint8_t ,uint8_t ,uint8_t* ,uint8_t );
  23. #endif