CutCake.h 510 B

1234567891011121314151617181920212223
  1. #include "PublicSDKMotion.h"
  2. class CutCake : public PublicSDKMotion
  3. {
  4. public:
  5. CutCake();
  6. 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,
  7. int* left_pos, int* left_att, int* left_acc, int left_zupt, int left_front_press, int left_back_press,
  8. int jump, int down, int rssi);
  9. private:
  10. deque<int> left_acc_deque;
  11. deque<int> right_acc_deque;
  12. int jump_valid_time;
  13. int jump_calm_down;
  14. int last_jump;
  15. };