#include <GT2004ConfigurationSymbols.h>
Inheritance diagram for GT2004ConfigurationSymbols:
Public Member Functions | |
GT2004ConfigurationSymbols (BehaviorControlInterfaces &interfaces) | |
void | registerSymbols (Xabsl2Engine &engine) |
registers the symbols at an engine | |
void | update () |
updates the symbols | |
Input symbols | |
double | getCurrentKickoff () |
double | getOwnKickoffX () |
double | getOwnKickoffY () |
double | getOwnKickoffAngle () |
double | getOwnKickoffXByObstacles () |
double | getOwnKickoffYByObstacles () |
double | getOwnKickoffAngleByObstacles () |
double | getOpponentKickoffX () |
double | getOpponentKickoffY () |
double | getOpponentKickoffAngle () |
Private Types | |
enum | { numOfKickoff = 2 } |
number of different kickoff variants More... | |
Private Attributes | |
double | goToKickoffMaxSpeed |
the max speed with which the robot walks to its kickoff position | |
Vector2< double > | goalie |
the goalie start position | |
Vector2< double > | defensiveSupporter |
the defensive supporter start position | |
Vector2< double > | offensiveSupporterOpponentKickoff |
the offensive supporter start position at opponent kickoff | |
Vector2< double > | strikerOpponentKickoff |
the striker start position at opponent kickoff | |
Vector2< double > | offensiveSupporterOwnKickoff [numOfKickoff] |
the offensive supporter start position at own kickoff | |
double | offensiveSupporterOwnKickoffAngle [numOfKickoff] |
the orientation of the offensive supporter at own kickoff in degrees | |
Vector2< double > | strikerOwnKickoff [numOfKickoff] |
the striker start position at own kickoff | |
double | strikerOwnKickoffAngle [numOfKickoff] |
the orientation of the striker at own kickoff in degrees | |
int | currentKickoff |
current own kickoff variant | |
Pose2D | obstacleKickoff |
kickoff-position of striker based on obstacle-model |
Definition at line 20 of file GT2004ConfigurationSymbols.h.
|
number of different kickoff variants
Definition at line 51 of file GT2004ConfigurationSymbols.h. |
|
Definition at line 11 of file GT2004ConfigurationSymbols.cpp. References currentKickoff, offensiveSupporterOpponentKickoff, offensiveSupporterOwnKickoff, offensiveSupporterOwnKickoffAngle, strikerOpponentKickoff, strikerOwnKickoff, strikerOwnKickoffAngle, Vector2< double >::x, and Vector2< double >::y. |
|
registers the symbols at an engine
Definition at line 48 of file GT2004ConfigurationSymbols.cpp. References getCurrentKickoff(), getOpponentKickoffAngle(), getOpponentKickoffX(), getOpponentKickoffY(), getOwnKickoffAngle(), getOwnKickoffX(), getOwnKickoffY(), and Xabsl2Symbols::registerDecimalInputSymbol(). Referenced by GT2004BehaviorControl::registerSymbolsAndBasicBehaviors(). |
Here is the call graph for this function:
|
updates the symbols
Definition at line 68 of file GT2004ConfigurationSymbols.cpp. References currentKickoff, GameControlData::data, Pose2D::fromAngle(), fromDegrees(), Pose2D::getAngle(), ObstaclesModel::getDistanceInCorridor(), ObstaclesModel::getDistanceInDirection(), numOfKickoff, obstacleKickoff, toDegrees(), Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. Referenced by GT2004BehaviorControl::execute(). |
Here is the call graph for this function:
|
A function for the symbol "current-kickoff-variant" Definition at line 126 of file GT2004ConfigurationSymbols.cpp. References currentKickoff. Referenced by registerSymbols(). |
|
A function for the symbol "own-kickoff.x" Definition at line 147 of file GT2004ConfigurationSymbols.cpp. References currentKickoff, getOwnKickoffXByObstacles(), getPlayer(), Player::getPlayerNumber(), offensiveSupporterOwnKickoff, and Vector2< double >::x. Referenced by registerSymbols(). |
Here is the call graph for this function:
|
A function for the symbol "own-kickoff.y" Definition at line 164 of file GT2004ConfigurationSymbols.cpp. References currentKickoff, getOwnKickoffYByObstacles(), getPlayer(), Player::getPlayerNumber(), offensiveSupporterOwnKickoff, and Vector2< double >::y. Referenced by registerSymbols(). |
Here is the call graph for this function:
|
A function for the symbol "own-kickoff.angle" Definition at line 131 of file GT2004ConfigurationSymbols.cpp. References currentKickoff, getOwnKickoffAngleByObstacles(), getPlayer(), Player::getPlayerNumber(), and offensiveSupporterOwnKickoffAngle. Referenced by registerSymbols(). |
Here is the call graph for this function:
|
A function for the symbol "own-kickoff.x" by obstacle model Definition at line 181 of file GT2004ConfigurationSymbols.cpp. References obstacleKickoff, Pose2D::translation, and Vector2< double >::x. Referenced by getOwnKickoffX(). |
|
A function for the symbol "own-kickoff.y" by obstacle model Definition at line 186 of file GT2004ConfigurationSymbols.cpp. References obstacleKickoff, Pose2D::translation, and Vector2< double >::y. Referenced by getOwnKickoffY(). |
|
A function for the symbol "own-kickoff.angle" by obstacle model Definition at line 191 of file GT2004ConfigurationSymbols.cpp. References Pose2D::getAngle(), and obstacleKickoff. Referenced by getOwnKickoffAngle(). |
Here is the call graph for this function:
|
A function for the symbol "opponent-kickoff.x" Definition at line 209 of file GT2004ConfigurationSymbols.cpp. References getPlayer(), Player::getPlayerNumber(), offensiveSupporterOpponentKickoff, strikerOpponentKickoff, and Vector2< double >::x. Referenced by registerSymbols(). |
Here is the call graph for this function:
|
A function for the symbol "opponent-kickoff.y" Definition at line 225 of file GT2004ConfigurationSymbols.cpp. References getPlayer(), Player::getPlayerNumber(), offensiveSupporterOpponentKickoff, strikerOpponentKickoff, and Vector2< double >::y. Referenced by registerSymbols(). |
Here is the call graph for this function:
|
A function for the symbol "opponent-kickoff.angle" Definition at line 196 of file GT2004ConfigurationSymbols.cpp. References getPlayer(), and Player::getPlayerNumber(). Referenced by registerSymbols(). |
Here is the call graph for this function:
|
the max speed with which the robot walks to its kickoff position
Definition at line 54 of file GT2004ConfigurationSymbols.h. |
|
the goalie start position
Definition at line 57 of file GT2004ConfigurationSymbols.h. |
|
the defensive supporter start position
Definition at line 60 of file GT2004ConfigurationSymbols.h. |
|
the offensive supporter start position at opponent kickoff
Definition at line 63 of file GT2004ConfigurationSymbols.h. Referenced by getOpponentKickoffX(), getOpponentKickoffY(), and GT2004ConfigurationSymbols(). |
|
the striker start position at opponent kickoff
Definition at line 65 of file GT2004ConfigurationSymbols.h. Referenced by getOpponentKickoffX(), getOpponentKickoffY(), and GT2004ConfigurationSymbols(). |
|
the offensive supporter start position at own kickoff
Definition at line 68 of file GT2004ConfigurationSymbols.h. Referenced by getOwnKickoffX(), getOwnKickoffY(), and GT2004ConfigurationSymbols(). |
|
the orientation of the offensive supporter at own kickoff in degrees
Definition at line 70 of file GT2004ConfigurationSymbols.h. Referenced by getOwnKickoffAngle(), and GT2004ConfigurationSymbols(). |
|
the striker start position at own kickoff
Definition at line 72 of file GT2004ConfigurationSymbols.h. Referenced by GT2004ConfigurationSymbols(). |
|
the orientation of the striker at own kickoff in degrees
Definition at line 74 of file GT2004ConfigurationSymbols.h. Referenced by GT2004ConfigurationSymbols(). |
|
current own kickoff variant
Definition at line 79 of file GT2004ConfigurationSymbols.h. Referenced by getCurrentKickoff(), getOwnKickoffAngle(), getOwnKickoffX(), getOwnKickoffY(), GT2004ConfigurationSymbols(), and update(). |
|
kickoff-position of striker based on obstacle-model
Definition at line 82 of file GT2004ConfigurationSymbols.h. Referenced by getOwnKickoffAngleByObstacles(), getOwnKickoffXByObstacles(), getOwnKickoffYByObstacles(), and update(). |