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

📄 returnformation_test.java

📁 利用JAVA编写的群体机器人局部通讯完成一定得队形控制
💻 JAVA
字号:
package EDU.gatech.cc.is.clay;

import java.lang.*;
import EDU.gatech.cc.is.util.Vec2;
import EDU.gatech.cc.is.util.Units;

public class returnformation_test extends NodeBoolean
	{
	public static final boolean DEBUG = Node.DEBUG;

	public returnformation_test()
		{
	
		}

	public static boolean	last_val = false;
	long	lasttime = 0;
	/**
	Return a boolean indicating if the two embedded schemas
	are close to each other.
	@param timestamp long, only get new information if timestamp > than last call
                or timestamp == -1.
	@return true if non-zero, false if zero.
	*/
	public boolean Value(long timestamp)
		{  
	//	if ("the button is put down")
	//		last_val = true;
	
		return (last_val);
		}
        }

⌨️ 快捷键说明

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