Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
RS::TrainerCheckBallCommand Class ReferenceClass used to represent the trainer command (check_ball).
Inheritance diagram for RS::TrainerCheckBallCommand:
[legend]Collaboration diagram for RS::TrainerCheckBallCommand:
[legend]List of all members.
Public Member Functions
const std::string ||serverString () const|
| ||Returns the server string that will execute the CheckBallCommand at the soccer server.|
|TrainerCheckBallCommand * ||clone () const|
| ||Returns a new copy of the command. |
Class used to represent the trainer command (check_ball).
(check ball) Ask the soccerserver to check the position of the ball. Four positions are defined:
Note that the states `goal l' and `goal r' do not necessary imply that the ball actually crossed the goal line. Possible replies by the soccerserver:
The ball is within the boundaries of the field.
The ball is within the area assigned to the goal at the left side of the field.
The ball is within the area assigned to the goal at the right side of the field.
out of field
The ball is somewhere else.
(ok check ball TIME BALLPOSITION)
BALLPOSITION will be one of the states specified above.
- 2006/09/06 18:03:46
Definition at line 80 of file TrainerCheckBallCommand.h.
Member Function Documentation
| TrainerCheckBallCommand * RS::TrainerCheckBallCommand::clone
The documentation for this class was generated from the following files:
Generated on Mon Aug 29 08:25:11 2011 for RoboSoc by