📄 internalsensor.java
字号:
/* * 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -