#include <PlayerSettings.h>
Inheritance diagram for PlayerSettings:
Definition at line 62 of file PlayerSettings.h.
|
This method initializes all client settings and adds these to the generic values class with the effect that they can referenced by their textual name. Definition at line 53 of file PlayerSettings.C. References GenericValues::addSetting(), dBallConfThr, dClearBallDist, dClearBallOppMaxDist, dClearBallToSideAngle, dConeWidth, dFastPassEndSpeed, dFractionWaitNoSee, dFractionWaitSeeBegin, dFractionWaitSeeEnd, dMarkDistance, dPassEndSpeed, dPassExtraX, dPlayerConfThr, dPlayerDistTolerance, dPlayerHighConfThr, dPlayerWhenToKick, dPlayerWhenToTurnAngle, dTurnWithBallAngThr, dTurnWithBallFreezeThr, iPlayerWhenToIntercept, and iServerTimeOut. |
|
This method returns the confidence threshold below which ball information is assumed illegal.
Definition at line 149 of file PlayerSettings.C. References dBallConfThr. Referenced by Player::deMeer5(), Player::deMeer5_goalie(), Player::getStrategicPosition(), and Player::sayWorldStatus(). |
|
This method returns the clear ball distance. When a clear ball is performed, the ball is aimed to a point just in front of the penalty area of the opponent. This method returns the distance before the penalty area to which the ball is aimed.
Definition at line 248 of file PlayerSettings.C. References dClearBallDist. Referenced by BasicPlayer::clearBall(). |
|
This method returns the distance in which opponents are taken into account when a clear ball is issued.
Definition at line 266 of file PlayerSettings.C. References dClearBallOppMaxDist. Referenced by BasicPlayer::clearBall(), and BasicPlayer::getShootPositionOnLine(). |
|
This method returns the minimum needed angle for a clear ball to the side.
Definition at line 283 of file PlayerSettings.C. References dClearBallToSideAngle. |
|
This method returns the cone width that is used to check for opponents when passing to a player. A pass is only performed when no opponents are in the cone. The cone is specified as the width to one side after distance 1. So for a value of 0.5 the cone angle equals 45 (22.5 to both sides).
Definition at line 303 of file PlayerSettings.C. References dConeWidth. Referenced by BasicPlayer::outplayOpponent(). |
|
This method returns the desired end speed for the ball when a fast pass is performed.
Definition at line 341 of file PlayerSettings.C. References dFastPassEndSpeed. Referenced by BasicPlayer::directPass(). |
|
This method returns the fraction of the simulation step that is waited before an action is sent to the server in case no see message will arrive in this cycle.
Definition at line 379 of file PlayerSettings.C. References dFractionWaitNoSee. Referenced by SenseHandler::setTimeSignal(). |
|
This method returns the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the first half of the cycle.
Definition at line 401 of file PlayerSettings.C. References dFractionWaitSeeBegin. Referenced by SenseHandler::setTimeSignal(). |
|
This method returns the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the second half of the cycle.
Definition at line 423 of file PlayerSettings.C. References dFractionWaitSeeEnd. Referenced by SenseHandler::setTimeSignal(), and WorldModel::updateAll(). |
|
This method returns the desired distance to an opponent which should be marked.
Definition at line 443 of file PlayerSettings.C. References dMarkDistance. |
|
This method returns the desired end speed for the ball when a normal pass is performed.
Definition at line 323 of file PlayerSettings.C. References dPassEndSpeed. Referenced by BasicPlayer::directPass(), BasicPlayer::getEndSpeedForPass(), and BasicPlayer::leadingPass(). |
|
This method returns the x value that can be added to the position of a teammate when a leading pass to this teammate is performed.
Definition at line 360 of file PlayerSettings.C. References dPassExtraX. |
|
This method returns the confidence threshold below which player information is assumed illegal
Definition at line 113 of file PlayerSettings.C. References dPlayerConfThr. Referenced by WorldModel::getClosestInSetTo(), WorldModel::getDirectionOfWidestAngle(), WorldModel::getFastestInSetTo(), WorldModel::getFirstEmptySpotInSet(), WorldModel::getFurthestInSetTo(), WorldModel::getNrInSetInCircle(), WorldModel::getNrInSetInCone(), WorldModel::getNrInSetInRectangle(), WorldModel::getSecondClosestInSetTo(), WorldModel::isConfidenceGood(), WorldModel::logObjectInformation(), WorldModel::updateAfterSeeMessage(), WorldModel::updateAfterSenseMessage(), and WorldModel::updateRelativeFromGlobal(). |
|
This method returns the radius in which a player has to be to be mapped from unknown to known player
Definition at line 167 of file PlayerSettings.C. References dPlayerDistTolerance. Referenced by WorldModel::mapUnknownPlayers(), and WorldModel::processUnsureHearInfo(). |
|
This method returns the confidence threshold above which player information is assumed very good.
Definition at line 131 of file PlayerSettings.C. References dPlayerHighConfThr. Referenced by WorldModel::isConfidenceVeryGood(). |
|
This method returns the maximal allowed number of cycles to intercept the ball. If it takes more cycles to intercept the ball, the ball is not intercepted.
Definition at line 228 of file PlayerSettings.C. References iPlayerWhenToIntercept. |
|
This method returns the percentage of the maximal acceleration in which case a kick should still be performed. This value is needed to determine whether the ball should be better positioned or should be kicked when the ball should be kicked hard. If it is possible to accelerate the ball with a higher percentage than the returned percentage the kick is performed, in all other cases the ball is positioned better.
Definition at line 208 of file PlayerSettings.C. References dPlayerWhenToKick. Referenced by BasicPlayer::kickTo(). |
|
This method returns the angle when a player determines to turn to a point first before moving towards it.
Definition at line 185 of file PlayerSettings.C. References dPlayerWhenToTurnAngle. Referenced by Player::deMeer5(), Player::deMeer5_goalie(), Player::executeStringCommand(), BasicPlayer::getEndSpeedForPass(), BasicPlayer::getInterceptionPointBall(), BasicPlayer::intercept(), BasicPlayer::interceptClose(), BasicPlayer::interceptCloseGoalie(), and WorldModel::predictNrCyclesToObject(). |
|
This method returns the number of seconds before the server is assumed dead. When no message is received from the server for this amount of seconds, it is assumed that the server program has been closed and the agent will exits.
Definition at line 463 of file PlayerSettings.C. References iServerTimeOut. Referenced by WorldModel::waitForNewInformation(). |
|
This method returns the threshold to determine when the ball is kicked to another position in the turnWithBallTo skill. When the global angle difference is larger than this value, the ball is repositioned otherwise it is not.
Definition at line 484 of file PlayerSettings.C. References dTurnWithBallAngThr. Referenced by BasicPlayer::dribble(), and BasicPlayer::outplayOpponent(). |
|
This method returns the threshold to determine when the ball is frozen in the turnWithBallTo skill. When the ball speed is larger than this value, the ball is frozen otherwise not
Definition at line 505 of file PlayerSettings.C. References dTurnWithBallFreezeThr. Referenced by BasicPlayer::dribble(), and BasicPlayer::outplayOpponent(). |
|
This method sets the confidence threshold below which ball information is assumed illegal
Definition at line 158 of file PlayerSettings.C. References dBallConfThr. |
|
This method sets the clear ball distance.
Definition at line 257 of file PlayerSettings.C. References dClearBallDist. |
|
This method sets the distance in which opponents are taken into account when a clear ball is issued.
Definition at line 275 of file PlayerSettings.C. References dClearBallOppMaxDist. |
|
This method sets the minimum needed angle for a clear ball to the side.
Definition at line 291 of file PlayerSettings.C. References dClearBallToSideAngle. |
|
This method sets the cone width in which no opponents are allowed when the ball is passed to a teammate. The cone width is specified as the width to one side after distance 1. So for a value of 0.5 the cone angle equals 45 (22.5 to both sides).
Definition at line 314 of file PlayerSettings.C. References dConeWidth. |
|
This method sets the desired end speed for the ball when a fast pass is performed.
Definition at line 351 of file PlayerSettings.C. References dFastPassEndSpeed. |
|
This method sets the fraction of the simulation step that is waited before an action is sent to the server in case no see message will arrive in this cycle.
Definition at line 390 of file PlayerSettings.C. References dFractionWaitNoSee. |
|
This method sets the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the first part of the cycle.
Definition at line 412 of file PlayerSettings.C. References dFractionWaitSeeBegin. |
|
This method sets the fraction of the simulation step that is waited before an action is sent to the server in case the see message will arrive in the second part of the cycle.
Definition at line 434 of file PlayerSettings.C. References dFractionWaitSeeEnd. Referenced by WorldModel::updateAll(). |
|
This method sets the desired distance to an opponent which should be marked.
Definition at line 452 of file PlayerSettings.C. References dMarkDistance. |
|
This method sets the desired end speed for the ball when a normal pass is performed.
Definition at line 332 of file PlayerSettings.C. References dPassEndSpeed. |
|
This method sets the x value that is added to the position of a teammate when a leading pass is performed.
Definition at line 369 of file PlayerSettings.C. References dPassExtraX. |
|
This method sets the confidence threshold below which player information is assumed illegal
Definition at line 122 of file PlayerSettings.C. References dPlayerConfThr. |
|
This method sets the radius in which a player has to be to be mapped from unknown to known player
Definition at line 176 of file PlayerSettings.C. References dPlayerDistTolerance. |
|
This method sets the confidence threshold above which player information is assumed very good
Definition at line 140 of file PlayerSettings.C. References dPlayerHighConfThr. |
|
This methods sets the maximal allowed number of cycles to intercept the ball.
Definition at line 237 of file PlayerSettings.C. References iPlayerWhenToIntercept. |
|
This method sets the percentage of the maximal acceleration that defines in which cases the ball is actually kicked or in which case it is positioned better when the ball should be given a very high velocity.
Definition at line 218 of file PlayerSettings.C. References dPlayerWhenToKick. |
|
This method sets the angle when a player determines to turn to a point first before moving towards it.
Definition at line 194 of file PlayerSettings.C. References dPlayerWhenToTurnAngle. |
|
This method sets the number of seconds before the server is assumed dead. When no message is received from the server for this amount of seconds, it is assumed that the server is stopped and the agent exits.
Definition at line 473 of file PlayerSettings.C. References iServerTimeOut. |
|
This method sets the threshold to determine when the ball is kicked to another position in the turnWithBallTo skill. When the global angle difference is larger than this value, the ball is repositioned otherwise it is not.
Definition at line 495 of file PlayerSettings.C. References dTurnWithBallAngThr. |
|
This method sets the threshold to determine when the ball is frozen in the turnWithBallTo skill. When the ball speed is larger than this value, the ball is frozen otherwise not
Definition at line 515 of file PlayerSettings.C. References dTurnWithBallFreezeThr. |
|
confidence threshold below which ball information is assumed illegal Definition at line 68 of file PlayerSettings.h. Referenced by getBallConfThr(), PlayerSettings(), and setBallConfThr(). |
|
distance before the penalty area to clear the ball to Definition at line 76 of file PlayerSettings.h. Referenced by getClearBallDist(), PlayerSettings(), and setClearBallDist(). |
|
radius in which opponent has to be to be taken into account for clear ball Definition at line 78 of file PlayerSettings.h. Referenced by getClearBallOppMaxDist(), PlayerSettings(), and setClearBallOppMaxDist(). |
|
minimum angle between opponents before clear ball is taken into account Definition at line 80 of file PlayerSettings.h. Referenced by getClearBallToSideAngle(), PlayerSettings(), and setClearBallToSideAngle(). |
|
Cone width (at distance 1) to check for opponents when passing to player. Definition at line 82 of file PlayerSettings.h. Referenced by getConeWidth(), PlayerSettings(), and setConeWidth(). |
|
end speed ball when passed fast Definition at line 85 of file PlayerSettings.h. Referenced by getFastPassEndSpeed(), PlayerSettings(), and setFastPassEndSpeed(). |
|
% of simulation step that is waited before action is sent in case no see message arrives Definition at line 88 of file PlayerSettings.h. Referenced by getFractionWaitNoSee(), PlayerSettings(), and setFractionWaitNoSee(). |
|
% of simulation step that is waited before action is sent in case see message arrives in first half cycle Definition at line 91 of file PlayerSettings.h. Referenced by getFractionWaitSeeBegin(), PlayerSettings(), and setFractionWaitSeeBegin(). |
|
% of simulation step that is waited before action is sent in case see message arrives in second half cycle Definition at line 94 of file PlayerSettings.h. Referenced by getFractionWaitSeeEnd(), PlayerSettings(), and setFractionWaitSeeEnd(). |
|
This is the distance the agent marks an opponent. Definition at line 97 of file PlayerSettings.h. Referenced by getMarkDistance(), PlayerSettings(), and setMarkDistance(). |
|
end speed ball when passed to teammate Definition at line 84 of file PlayerSettings.h. Referenced by getPassEndSpeed(), PlayerSettings(), and setPassEndSpeed(). |
|
extra x value added to x coordinate of player pos to which is passed Definition at line 86 of file PlayerSettings.h. Referenced by getPassExtraX(), PlayerSettings(), and setPassExtraX(). |
|
confidence threshold below which player information is assumed illegal Definition at line 64 of file PlayerSettings.h. Referenced by getPlayerConfThr(), PlayerSettings(), and setPlayerConfThr(). |
|
radius in which player has to be to be mapped from unknown to known player Definition at line 70 of file PlayerSettings.h. Referenced by getPlayerDistTolerance(), PlayerSettings(), and setPlayerDistTolerance(). |
|
confidence threshold above which player information is assumed very good Definition at line 66 of file PlayerSettings.h. Referenced by getPlayerHighConfThr(), PlayerSettings(), and setPlayerHighConfThr(). |
|
percentage of kick power rate when kick is performed Definition at line 73 of file PlayerSettings.h. Referenced by getPlayerWhenToKick(), PlayerSettings(), and setPlayerWhenToKick(). |
|
angle when to turn to ball when moving Definition at line 72 of file PlayerSettings.h. Referenced by getPlayerWhenToTurnAngle(), PlayerSettings(), and setPlayerWhenToTurnAngle(). |
|
Threshold value for angle difference that indicates when the ball is kicked in turnWithBallTo skill. Definition at line 101 of file PlayerSettings.h. Referenced by getTurnWithBallAngThr(), PlayerSettings(), and setTurnWithBallAngThr(). |
|
Threshold value for ball speed that indicates when the ball is frozen in turnWithBallTo skill. Definition at line 104 of file PlayerSettings.h. Referenced by getTurnWithBallFreezeThr(), PlayerSettings(), and setTurnWithBallFreezeThr(). |
|
how many cycles to ball when intercept Definition at line 75 of file PlayerSettings.h. Referenced by getPlayerWhenToIntercept(), PlayerSettings(), and setPlayerWhenToIntercept(). |
|
Number of seconds before the soccer server is assumed dead. Definition at line 99 of file PlayerSettings.h. Referenced by getServerTimeOut(), PlayerSettings(), and setServerTimeOut(). |