All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.v_TheirGoal_r
java.lang.Object
|
+----EDU.gatech.cc.is.clay.Node
|
+----EDU.gatech.cc.is.clay.NodeVec2
|
+----EDU.gatech.cc.is.clay.v_TheirGoal_r
- public class v_TheirGoal_r
- extends NodeVec2
This perceptual node reports the position of a soccer ball
for a GoalSensor 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.
-
v_TheirGoal_r(GoalSensor)
- Instantiate a v_TheirGoal_r schema.
-
Value(long)
- Return a Vec2 pointing from the
center of the robot to the ball.
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
v_TheirGoal_r
public v_TheirGoal_r(GoalSensor ar)
- Instantiate a v_TheirGoal_r schema.
- Parameters:
- ar - GoalSensor, the abstract_robot object that provides hardware support.
Value
public Vec2 Value(long timestamp)
- Return a Vec2 pointing from the
center of the robot to the ball.
- Parameters:
- timestamp - long, only get new information if timestamp > than last call
or timestamp == -1.
- Returns:
- the sensed ball
- Overrides:
- Value in class NodeVec2
All Packages Class Hierarchy This Package Previous Next Index