EDU.gatech.cc.is.clay
Class b_CanKick_r
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeScalar
|
+--EDU.gatech.cc.is.clay.NodeBoolean
|
+--EDU.gatech.cc.is.clay.b_CanKick_r
- public class b_CanKick_r
- extends NodeBoolean
Report whether we are in a position to kick the ball.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
Field Summary |
static boolean |
DEBUG
Turn debug printing on or off. |
Method Summary |
boolean |
Value(long timestamp)
Return true if we can kick the ball. |
Methods inherited from class EDU.gatech.cc.is.clay.Node |
initTrial |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
b_CanKick_r
public b_CanKick_r(KickActuator ar)
- Instantiate a b_CanKick_r schema.
- Parameters:
ar
- KickActuator, the abstract_robot object
that provides hardware support.
Value
public boolean Value(long timestamp)
- Return true if we can kick the ball.
- Overrides:
- Value in class NodeBoolean
- Parameters:
timestamp
- long, only get new
information if timestamp > than last call or timestamp == -1.- Returns:
- true if we can kick the ball.