PublicSDKMotion.h 665 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef PUBLIC_SDK_MOTION
  2. #define PUBLIC_SDK_MOTION
  3. #define LEFT_FOOT 1
  4. #define RIGHT_FOOT 2
  5. #include<iostream>
  6. #include<vector>
  7. #include<deque>
  8. #include "pub.h"
  9. #include "MotionCount.h"
  10. #include "PublicInterface.h"
  11. using namespace std;
  12. class PublicSDKMotion : public MotionCount , public PublicInterface {
  13. public:
  14. /*
  15. * process函数,用于游戏的多态调用
  16. */
  17. 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,
  18. int* left_pos, int* left_att, int* left_acc, int left_zupt, int left_front_press, int left_back_press,
  19. int jump, int down, int rssi);
  20. };
  21. #endif