jumpH5.h 578 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _jumpH5_H
  2. #define _jumpH5_H
  3. #include "pub.h"
  4. class jumpH5 {
  5. public:
  6. void Process(int* right_pos, int* right_att, int right_zupt, int* left_pos, int* left_att, int left_zupt, int jump, int down, int girl_shoes);
  7. void getResult(int* result);
  8. private:
  9. int last_right_pos[3];
  10. int last_left_pos[3];
  11. int last_right_zupt;
  12. int last_left_zupt;
  13. int left_wait_time = 0;
  14. int right_wait_time = 0;
  15. int left_pos_wait[3];
  16. int right_pos_wait[3];
  17. int report_tag = 0;
  18. int next_result_wait = 0;
  19. int not_on_floor_time = 0;
  20. int H5_result[4] = { 0,0,0,0 };
  21. };
  22. #endif