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

📄 goalsensor.java

📁 利用JAVA编写的群体机器人局部通讯完成一定得队形控制
💻 JAVA
字号:
/* * GoalSensor.java */package EDU.gatech.cc.is.abstractrobot;import EDU.gatech.cc.is.util.*;/** * Provides an abstract interface to the goal sensing hardware of * a soccer robot. * <P> * <A HREF="../COPYRIGHT.html">Copyright</A> * (c)1997, 1998 Tucker Balch * * @author Tucker Balch * @version $Revision: 1.1 $ */public interface GoalSensor	{	/**	 * Get a Vec2 that points to the opponent's goal. This is the one	 * to get the ball across to score.	 * @param timestamp only get new information 	 *        if timestamp > than last call or timestamp == -1.	 * @return the sensed location of the goal	 * @see EDU.gatech.cc.is.util.Vec2	 */	public abstract Vec2 getOpponentsGoal(long timestamp);	/**	 * Get a Vec2 that points to the team's goal. This is the one	 * to defend.	 * @param timestamp only get new information 	 *        if timestamp > than last call or timestamp == -1.	 * @return the sensed location of the goal	 * @see EDU.gatech.cc.is.util.Vec2	 */	public abstract Vec2 getOurGoal(long timestamp);	}

⌨️ 快捷键说明

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