All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.va_Opponents_r
java.lang.Object
|
+----EDU.gatech.cc.is.clay.Node
|
+----EDU.gatech.cc.is.clay.NodeVec2Array
|
+----EDU.gatech.cc.is.clay.va_Opponents_r
- public class va_Opponents_r
- extends NodeVec2Array
Report a list of Vec2s pointing to the oppoenents detected by a soccer robot.
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.
-
va_Opponents_r(KinSensor)
- Instantiate a va_Opponents_r schema.
-
Value(long)
- Return an array of Vec2s pointing from the
center of the robot to the detected opponents
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
va_Opponents_r
public va_Opponents_r(KinSensor ar)
- Instantiate a va_Opponents_r schema.
- Parameters:
- ar - KinSensor 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 opponents
- Parameters:
- timestamp - long, only get new information if timestamp > than last call
or timestamp == -1.
- Returns:
- the sensed opponents
- Overrides:
- Value in class NodeVec2Array
All Packages Class Hierarchy This Package Previous Next Index