1234567891011121314151617181920212223242526272829303132 |
- #ifndef PUBLIC_SDK_MOTION
- #define PUBLIC_SDK_MOTION
- #define LEFT_FOOT 1
- #define RIGHT_FOOT 2
- #include<iostream>
- #include<vector>
- #include<deque>
- #include "pub.h"
- #include "MotionCount.h"
- #include "PublicInterface.h"
- using namespace std;
- class PublicSDKMotion : public MotionCount , public PublicInterface {
- public:
- /*
- * process函数,用于游戏的多态调用
- */
- 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,
- int* left_pos, int* left_att, int* left_acc, int left_zupt, int left_front_press, int left_back_press,
- int jump, int down, int rssi);
- };
- #endif
|