⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 world.h

📁 robocuo相关资料robocuo相关资料
💻 H
字号:
#ifndef _WORLD_H#define _WORLD_H#include <string>#include <vector>#include "common.h"#include "Matrix.h"#include "Geometry.h"class body;class world{public:	world();	body *bd;	void set_flags();	void set_teammate(int,Vector3d);	void set_opponent(int,Vector3d);	void SetGyro(double,double,double);	Vector3d GetGyro();	Vector3d Gyroscope;	void SetHearMsg(double,string,string);	double GetHearTime();	string GetHearName();	string GetHearMsg();	double HearTime;	string HearName,HearMsg;	void analyze();	void update_torso_position();	void update_torso_rotation_matrix();	void update_objects_positions();	void update_situation();	double field_width;	double field_length;	double goal_width;	double theta_angle_on_field;	situation_e situation;	bool ready;	int uniform_number;	int cycle;	std::string team_name;	std::string team_side;	play_mode_e play_mode;	double simulation_time;	double game_time;	//vision	Vector3d ball_position;	Vector3d ball_vision_position;	Vector3d my_position;	Matrix torso_direction_matrix;	flag flags[8];	std::vector<agent> teammates;	std::vector<agent> opponents;};#endif

⌨️ 快捷键说明

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