#include <GT2004StrategySymbols.h>
Inheritance diagram for GT2004StrategySymbols:
Input symbols | |
double | getRobotNumber () |
double | getAngleToTeammate () |
bool | getAnotherPlayerIsInReadyState () |
A function for the symbol "another-player-is-in-ready-state". | |
bool | getAnotherPlayerIsInInitialState () |
A function for the symbol "another-player-is-in-initial-state". | |
bool | getAnotherTeammateIsPerformingAKick () |
A function for the symbol "another-teammate-is-performing-a-kick". | |
bool | getTheStrikerIsPlayingNearTheOpponentGoal () |
A function for the symbol "the-striker-is-playing-near-the-opponent-goal". | |
bool | getTheStrikerIsNotPlayingNearTheOpponentGoal () |
A function for the symbol "the-striker-is-not-playing-near-the-opponent-goal". | |
bool | getTheStrikerIsPlayingNearTheOwnGoal () |
A function for the symbol "the-striker-is-playing-near-the-own-goal". | |
bool | getTheStrikerIsNotPlayingNearTheOwnGoal () |
A function for the symbol "the-striker-is-not-playing-near-the-own-goal". | |
double | getGoalieMaxPositionSpeed () |
A function for the symbol "goalie-max-position-speed". | |
double | getSearchBallX () |
A function for the symbol "search-ball.x". | |
double | angleToTeammateIndex |
Public Types | |
enum | { doProfiling, dontDoProfiling } |
Output-Symbols for Profiler. More... | |
enum | { writeProfiles, writeCompleteProfiles, dontWriteProfiles } |
Public Member Functions | |
GT2004StrategySymbols (BehaviorControlInterfaces &interfaces) | |
void | registerSymbols (Xabsl2Engine &engine) |
registers the symbols at an engine | |
void | update () |
updates the symbols | |
void | estimateTimeToReachBall () |
computes the estimated time to reach the ball | |
void | computeRole () |
computes the current role | |
Public Attributes | |
double | estimatedTimeToReachBall |
current estimated time to reach the ball | |
BehaviorTeamMessage::DynamicRole | role |
current role | |
enum GT2004StrategySymbols:: { ... } | doProfile |
Output-Symbols for Profiler. | |
enum GT2004StrategySymbols:: { ... } | writeProfile |
Definition at line 22 of file GT2004StrategySymbols.h.
|
Output-Symbols for Profiler.
Definition at line 92 of file GT2004StrategySymbols.h. |
|
Definition at line 93 of file GT2004StrategySymbols.h. |
|
Definition at line 13 of file GT2004StrategySymbols.cpp. |
|
Here is the call graph for this function:
|
updates the symbols
Definition at line 94 of file GT2004StrategySymbols.cpp. References computeRole(), BehaviorTeamMessage::dynamicRole, BehaviorTeamMessage::estimatedTimeToReachBall, and estimateTimeToReachBall(). Referenced by GT2004BehaviorControl::execute(). |
Here is the call graph for this function:
|
computes the estimated time to reach the ball
Definition at line 265 of file GT2004StrategySymbols.cpp. References Geometry::angleTo(), Geometry::distanceTo(), SystemCall::getTimeSince(), normalize(), pi2, BallModel::seen, SeenBallPosition::timeWhenLastSeen, and Pose2D::translation. Referenced by update(). |
Here is the call graph for this function:
|
computes the current role
Definition at line 103 of file GT2004StrategySymbols.cpp. References SeenBallPosition::ballInFrontOfOpponentGoal, FieldDimensions::distanceToOpponentPenaltyArea(), getPlayer(), Player::getPlayerNumber(), SystemCall::getTimeSince(), TeamMessageCollection::numberOfTeamMessages, BallModel::seen, SeenBallPosition::timeWhenLastSeen, Pose2D::translation, and Vector2< double >::x. Referenced by update(). |
Here is the call graph for this function:
|
Definition at line 55 of file GT2004StrategySymbols.h. References getPlayer(), and Player::getPlayerNumber(). Referenced by registerSymbols(). |
Here is the call graph for this function:
|
the Parameter "robot-pose.get-angle-to-teammate.index" for the decimal input function "robot-pose.get-angle-to-teammate" Definition at line 299 of file GT2004StrategySymbols.cpp. References angleToTeammateIndex, PlayerPoseCollection::getOwnPlayerPose(), PlayerPose::getPose(), PlayerPoseCollection::numberOfOwnPlayers, toDegrees(), and Pose2D::translation. Referenced by registerSymbols(). |
Here is the call graph for this function:
|
A function for the symbol "another-player-is-in-ready-state".
Definition at line 316 of file GT2004StrategySymbols.cpp. Referenced by registerSymbols(). |
|
A function for the symbol "another-player-is-in-initial-state".
Definition at line 332 of file GT2004StrategySymbols.cpp. Referenced by registerSymbols(). |
|
A function for the symbol "another-teammate-is-performing-a-kick".
Definition at line 348 of file GT2004StrategySymbols.cpp. Referenced by registerSymbols(). |
|
A function for the symbol "the-striker-is-playing-near-the-opponent-goal".
Definition at line 364 of file GT2004StrategySymbols.cpp. Referenced by registerSymbols(). |
|
A function for the symbol "the-striker-is-not-playing-near-the-opponent-goal".
Definition at line 380 of file GT2004StrategySymbols.cpp. Referenced by registerSymbols(). |
|
A function for the symbol "the-striker-is-playing-near-the-own-goal".
Definition at line 396 of file GT2004StrategySymbols.cpp. Referenced by registerSymbols(). |
|
A function for the symbol "the-striker-is-not-playing-near-the-own-goal".
Definition at line 412 of file GT2004StrategySymbols.cpp. Referenced by registerSymbols(). |
|
A function for the symbol "goalie-max-position-speed".
Definition at line 247 of file GT2004StrategySymbols.cpp. References Geometry::distanceTo(), RobotPose::getPose(), max, min, and BallModel::seen. Referenced by registerSymbols(). |
Here is the call graph for this function:
|
A function for the symbol "search-ball.x".
Definition at line 428 of file GT2004StrategySymbols.cpp. References getPlayer(), Player::getPlayerNumber(), and SystemCall::getTimeSince(). Referenced by registerSymbols(). |
Here is the call graph for this function:
|
current estimated time to reach the ball
Definition at line 38 of file GT2004StrategySymbols.h. |
|
current role
Definition at line 44 of file GT2004StrategySymbols.h. Referenced by GT2004BehaviorControl::postExecute(). |
|
Definition at line 60 of file GT2004StrategySymbols.h. Referenced by getAngleToTeammate(), and registerSymbols(). |
|
Output-Symbols for Profiler.
|
|
|