motion_interface.h 560 B

1234567891011121314151617
  1. #ifndef __motion_interface_h__
  2. #define __motion_interface_h__
  3. #include "main.h"
  4. void integrate_left_right(uint8_t* left_buff, uint8_t left_len, uint8_t* right_buff, uint8_t right_len);
  5. void get_game_package(uint8_t* buff_address, uint8_t * buff_len);
  6. //void process_motion(int16_t* _acc, int16_t* _gry, int16_t* front_mag, int16_t* back_mag, uint8_t _rssi);
  7. void process_motion(int32_t time_stamp, int16_t _acc[3], int16_t _gry[3], int16_t front_mag[3], int16_t back_mag[3], uint8_t _rssi);
  8. void get_foot_data(uint8_t *buf, uint8_t *buff_len);
  9. #endif