H5_Game.h 642 B

1234567891011121314151617181920212223242526272829303132
  1. #include "PublicSDKMotion.h"
  2. #include "pub.h"
  3. class H5 : public PublicSDKMotion
  4. {
  5. public:
  6. H5();
  7. virtual void Process(int time_stamp, int* right_pos, int* right_att, int* right_acc, int right_zupt, int right_front_press, int right_back_press,
  8. int* left_pos, int* left_att, int* left_acc, int left_zupt, int left_front_press, int left_back_press,
  9. int jump, int down, int rssi);
  10. private:
  11. int last_left_zupt;
  12. int last_right_zupt;
  13. int last_jump;
  14. int last_down;
  15. int CANCLE_DOWN;
  16. int CANCLE_JUMP;
  17. int valid_down_wait_time;
  18. int valid_jump_wait_time;
  19. deque<int> left_front_press_deque;
  20. deque<int> right_front_press_deque;
  21. };