command.h~

来自「底层robocup3d源码。 suse10.0 kdevelop 开发.」· H~ 代码 · 共 45 行

H~
45
字号
#ifndef MSPACECOMMAND_H#define MSPACECOMMAND_H#include <string>#include "connect.h"#include "param.h"#include "worldmodel.h"extern MSpace::Param param;namespace MSpace {/**@author root*/struct DriveMessage{	long sentcycle;	Vec force;};class Command{public:    Command();    void Create(std::string TeamName,int Number);    void Done();    void Kick(Angel ang,float force);    void Drive(Vec v);    void PutKick(Angel ang,float force);    void PutDrive(Vec v);    void PutCatch();    void SentCommand();    void Beam(Vec v);    void Catch();    void TurnCamera(Angel pan,Angel tilt);    void Say(std::string word);    void Notify(int time);    Vec GetLastDriveForce();    long GetLastDriveCycle();    ~Command();private:	queue <std::string>comq;	DriveMessage lastdrive;};}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?