H5_Game.h 625 B

12345678910111213141516171819202122232425262728293031
  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. virtual void getResult(int* dec);
  11. private:
  12. int resultMatrix[4];
  13. int last_left_zupt;
  14. int last_right_zupt;
  15. int last_jump;
  16. int last_down;
  17. int CANCLE_DOWN;
  18. int CANCLE_JUMP;
  19. int valid_down_wait_time;
  20. int valid_jump_wait_time;
  21. };