📄 control.h
字号:
#ifndef _CONTROL_H#define _CONTROL_Husing namespace std;#include<sstream>#include "common.h"//#include "Enum.h"class body;class world;class connection;class control{public: control(world*, body *, connection *); void create_robot(); void init_robot(); void beam(double, double, double); bool go_to_state(state *,command *); bool get_rate(double,double,double,double,double &); void do_command(command *); void follow_trajectory(trajectory *); void do_action(action *); void reset();protected: int trajectory_it; std::string trajectory_name; int state_number; std::string previous_action_name; int previous_action_size; int previous_repeat_number; double state_time; command cmd; body *bd; world*wm; connection *cn;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -