All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.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
- Version:
- $Revision: 1.2 $
- Author:
- Tucker Balch
-
DEBUG
-
Turn debug printing on or off.
-
i_InGripper_r(GripperActuator)
- Instantiate an i_InGripper_r schema.
-
Value(long)
- Return an int representing the type of object in the
robot's gripper, 0 if empty.
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, 0 if empty.
- Parameters:
- timestamp - long, only get new information if timestamp > than last call
or timestamp == -1.
- Returns:
- the type of the object, 0 if empty.
- Overrides:
- Value in class NodeInt
All Packages Class Hierarchy This Package Previous Next Index