All Packages Class Hierarchy This Package Previous Next Index
Interface EDU.gatech.cc.is.abstractrobot.GoalSensor
- public interface GoalSensor
Provides an abstract interface to the goal sensing hardware of
a soccer robot.
Copyright
(c)1997, 1998 Tucker Balch
- Version:
- $Revision: 1.2 $
- Author:
- Tucker Balch
-
getOpponentsGoal(long)
- Get a Vec2 that points to the opponent's goal.
-
getOurGoal(long)
- Get a Vec2 that points to the team's goal.
getOpponentsGoal
public abstract Vec2 getOpponentsGoal(long timestamp)
- Get a Vec2 that points to the opponent's goal. This is the one
to get the ball across to score.
- Parameters:
- timestamp - only get new information
if timestamp > than last call or timestamp == -1.
- Returns:
- the sensed location of the goal
- See Also:
- Vec2
getOurGoal
public abstract Vec2 getOurGoal(long timestamp)
- Get a Vec2 that points to the team's goal. This is the one
to defend.
- Parameters:
- timestamp - only get new information
if timestamp > than last call or timestamp == -1.
- Returns:
- the sensed location of the goal
- See Also:
- Vec2
All Packages Class Hierarchy This Package Previous Next Index