EDU.gatech.cc.is.clay
Class va_Obstacles_r
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeVec2Array
|
+--EDU.gatech.cc.is.clay.va_Obstacles_r
- public class va_Obstacles_r
- extends NodeVec2Array
Report a list of Vec2s pointing to
obstacles detected by the robot.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1998 Tucker Balch
Field Summary |
static boolean |
DEBUG
Turn debug printing on or off. |
Method Summary |
Vec2[] |
Value(long timestamp)
Return an array of Vec2s pointing from the
center of the robot to the detected obstacles. |
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.
va_Obstacles_r
public va_Obstacles_r(SimpleInterface ar)
- Instantiate a va_Obstacles_r schema.
- Parameters:
ar
- SimpleInterface, the abstract_robot object
that provides hardware support.
Value
public Vec2[] Value(long timestamp)
- Return an array of Vec2s pointing from the
center of the robot to the detected obstacles.
- Overrides:
- Value in class NodeVec2Array
- Parameters:
timestamp
- long, only get new information
if timestamp > than last call or timestamp == -1.- Returns:
- the sensed obstacles