EDU.gatech.cc.is.clay
Class i_InGripper_r
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeScalar
|
+--EDU.gatech.cc.is.clay.NodeInt
|
+--EDU.gatech.cc.is.clay.i_InGripper_r
- public class i_InGripper_r
- extends NodeInt
Report the type of object in the gripper. If nothing is there, return 0.
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 |
int |
Value(long timestamp)
Return an int representing the type of object in the
robot's gripper, -1 if empty. |
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.
i_InGripper_r
public i_InGripper_r(GripperActuator ar)
- Instantiate an i_InGripper_r schema.
- Parameters:
ar
- GripperActuator, the abstract_robot object that provides hardware support.
Value
public int Value(long timestamp)
- Return an int representing the type of object in the
robot's gripper, -1 if empty.
- Overrides:
- Value in class NodeInt
- Parameters:
timestamp
- long, only get new information if timestamp > than last call
or timestamp == -1.- Returns:
- the type of the object, 0 if empty.