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

📄 test.h

📁 FIRA 5V5比赛中一个机器人源代码 本科毕业设计做的
💻 H
字号:
// Test.h: interface for the CTest class.
//
//////////////////////////////////////////////////////////////////////

#include "strategy.h" //include strategy header

#if !defined(AFX_TEST_H__37F5952B_B178_4FDF_9D6C_D495A955F5E4__INCLUDED_)
#define AFX_TEST_H__37F5952B_B178_4FDF_9D6C_D495A955F5E4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000



class CTest  
{
public:
	CTest(Environment *envPointer, UserDefStruct *UserDataPointer);
	virtual ~CTest();
	//declare fuction phototype
	void Spin();
	
	void Test(int WhichRobot);
	bool Push(int WhichRobot);
	int Direction(Robot *robot);
	double Predict_Ball(int WhichRobot);
	double Gradient(Vector3D p1, Vector3D p2);

	void Trap_Ball(int WhichRobot, int WhichRobot2);
	void Penalty_Kick(int WhichRobot);
	void Goalie (int Which_Robot);
	
	//User Used Variable
	UserDefStruct *UserData;
	Environment *env;

};

#endif // !defined(AFX_TEST_H__37F5952B_B178_4FDF_9D6C_D495A955F5E4__INCLUDED_)

⌨️ 快捷键说明

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