internalsensor.java
来自「利用JAVA编写的群体机器人局部通讯完成一定得队形控制」· Java 代码 · 共 39 行
JAVA
39 行
/* * InternalSensor.java */package EDU.cmu.cs.coral.abstractrobot;import EDU.gatech.cc.is.util.*;/** * Provides an abstract interface to the the robot that * returns information about the robot's internal state * * <P> * <A HREF="../COPYRIGHT.html">Copyright</A> * (c)1999,2000 CMU * * @author Rosemary Emery * @version $Revision: 1.1 $ */public interface InternalSensor{ /** *returns the status of the current command. if the robot * can execute the command it is true, otherwise it is false. * For example, if the Cye robot cannot move as told to because * it would turn under the trailer this function would return true */ public boolean getCommandError(long timestamp); /** *returns the robot's current voltage. */ public double getVoltage(long timestamp);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?