#include <PlayerSettings.h>
Inheritance diagram for PlayerSettings:
Definition at line 66 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 57 of file PlayerSettings.C. References GenericValues::addSetting(), dBallConfThr, dClearBallDist, dClearBallOppMaxDist, dClearBallToSideAngle, dConeWidth, dDribbleAngThr, dFastPassEndSpeed, dFractionWaitNoSee, dFractionWaitSeeBegin, dFractionWaitSeeEnd, dMarkDistance, dPassEndSpeed, dPassExtraX, dPlayerConfThr, dPlayerDistTolerance, dPlayerHighConfThr, dPlayerWhenToKick, dPlayerWhenToTurnAngle, dShootRiskProbability, dStratAreaRadius, dTurnWithBallAngThr, dTurnWithBallFreezeThr, iCyclesCatchWait, iPlayerWhenToIntercept, and iServerTimeOut. |
|
This method returns the confidence threshold below which ball information is assumed illegal.
Definition at line 161 of file PlayerSettings.C. References dBallConfThr. Referenced by Player::deMeer5(), Player::deMeer5_goalie(), and WorldModel::getStrategicPosition(). |
|
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 260 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 278 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 295 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 315 of file PlayerSettings.C. References dConeWidth. Referenced by BasicPlayer::outplayOpponent(). |
|
This method returns the number of cycles waited by the goalkeeper after he has catched the ball.
Definition at line 518 of file PlayerSettings.C. References iCyclesCatchWait. Referenced by WorldModel::getStrategicPosition(). |
|
This method returns the threshold to determine when the agent turns towards the dribble direction when dribbling. When the global angle difference is larger than this value, the agent performs a turnWithBallTo.
Definition at line 558 of file PlayerSettings.C. References dDribbleAngThr. Referenced by BasicPlayer::dribble(), and BasicPlayer::outplayOpponent(). |
|
This method returns the desired end speed for the ball when a fast pass is performed.
Definition at line 353 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 391 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 413 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 435 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 455 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 335 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 372 of file PlayerSettings.C. References dPassExtraX. |
|
This method returns the confidence threshold below which player information is assumed illegal
Definition at line 125 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::iterateObjectNext(), 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 179 of file PlayerSettings.C. References dPlayerDistTolerance. Referenced by WorldModel::mapUnknownPlayers(), WorldModel::processNewObjectInfo(), and WorldModel::processUnsureHearInfo(). |
|
This method returns the confidence threshold above which player information is assumed very good.
Definition at line 143 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 240 of file PlayerSettings.C. References iPlayerWhenToIntercept. Referenced by BasicPlayer::getInterceptionPointBall(), and WorldModel::predictNrCyclesToObject(). |
|
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 220 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 197 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(), BasicPlayer::mark(), 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 538 of file PlayerSettings.C. References iServerTimeOut. Referenced by WorldModel::waitForNewInformation(). |
|
This method returns the minimum needed probability for the ball to enter the goal when a "risky" scoring attempt is performed. That is when an agent tries to score although the success rate is not very high, he will always shoot to a point in the goal where the probability that the ball will enter the goal is higher than the value returned by this method.
Definition at line 496 of file PlayerSettings.C. References dShootRiskProbability. |
|
This method returns the radius around the strategic position in which an optimal position is considered.
Definition at line 474 of file PlayerSettings.C. References dStratAreaRadius. |
|
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 580 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 601 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 170 of file PlayerSettings.C. References dBallConfThr. |
|
This method sets the clear ball distance.
Definition at line 269 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 287 of file PlayerSettings.C. References dClearBallOppMaxDist. |
|
This method sets the minimum needed angle for a clear ball to the side.
Definition at line 303 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 326 of file PlayerSettings.C. References dConeWidth. |
|
This method sets the number of cycles waited by the goalkeeper after he has catched the ball.
Definition at line 527 of file PlayerSettings.C. References iCyclesCatchWait. |
|
This method sets the threshold to determine when the agent turns towards the dribble direction when dribbling. When the global angle difference is larger than this value, the agent performs a turnWithBallTo.
Definition at line 568 of file PlayerSettings.C. References dDribbleAngThr. |
|
This method sets the desired end speed for the ball when a fast pass is performed.
Definition at line 363 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 402 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 424 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 446 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 464 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 344 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 381 of file PlayerSettings.C. References dPassExtraX. |
|
This method sets the confidence threshold below which player information is assumed illegal
Definition at line 134 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 188 of file PlayerSettings.C. References dPlayerDistTolerance. |
|
This method sets the confidence threshold above which player information is assumed very good
Definition at line 152 of file PlayerSettings.C. References dPlayerHighConfThr. |
|
This methods sets the maximal allowed number of cycles to intercept the ball.
Definition at line 249 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 230 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 206 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 548 of file PlayerSettings.C. References iServerTimeOut. |
|
This method sets the minimum needed probability for the ball to enter the goal when a "risky" scoring attempt is performed. That is when an agent tries to score although the success rate is not very high, he will always shoot to a point in the goal where the probability that the ball will enter the goal is higher than this value.
Definition at line 509 of file PlayerSettings.C. References dShootRiskProbability. |
|
This method sets the radius around the strategic position in which an optimal position is considered.
Definition at line 484 of file PlayerSettings.C. References dStratAreaRadius. |
|
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 591 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 611 of file PlayerSettings.C. References dTurnWithBallFreezeThr. |
|
confidence threshold below which ball information is assumed illegal Definition at line 72 of file PlayerSettings.h. Referenced by getBallConfThr(), PlayerSettings(), and setBallConfThr(). |
|
distance before the penalty area to clear the ball to Definition at line 80 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 82 of file PlayerSettings.h. Referenced by getClearBallOppMaxDist(), PlayerSettings(), and setClearBallOppMaxDist(). |
|
minimum angle between opponents before clear ball is taken into account Definition at line 84 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 86 of file PlayerSettings.h. Referenced by getConeWidth(), PlayerSettings(), and setConeWidth(). |
|
Threshold value for angle difference that indicates when the agent turns towards the dribble direction. Definition at line 113 of file PlayerSettings.h. Referenced by getDribbleAngThr(), PlayerSettings(), and setDribbleAngThr(). |
|
end speed ball when passed fast Definition at line 89 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 92 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 95 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 98 of file PlayerSettings.h. Referenced by getFractionWaitSeeEnd(), PlayerSettings(), and setFractionWaitSeeEnd(). |
|
This is the distance the agent marks an opponent. Definition at line 101 of file PlayerSettings.h. Referenced by getMarkDistance(), PlayerSettings(), and setMarkDistance(). |
|
end speed ball when passed to teammate Definition at line 88 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 90 of file PlayerSettings.h. Referenced by getPassExtraX(), PlayerSettings(), and setPassExtraX(). |
|
confidence threshold below which player information is assumed illegal Definition at line 68 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 74 of file PlayerSettings.h. Referenced by getPlayerDistTolerance(), PlayerSettings(), and setPlayerDistTolerance(). |
|
confidence threshold above which player information is assumed very good Definition at line 70 of file PlayerSettings.h. Referenced by getPlayerHighConfThr(), PlayerSettings(), and setPlayerHighConfThr(). |
|
percentage of kick power rate when kick is performed Definition at line 77 of file PlayerSettings.h. Referenced by getPlayerWhenToKick(), PlayerSettings(), and setPlayerWhenToKick(). |
|
angle when to turn to ball when moving Definition at line 76 of file PlayerSettings.h. Referenced by getPlayerWhenToTurnAngle(), PlayerSettings(), and setPlayerWhenToTurnAngle(). |
|
This is the probability for the ball to enter the goal that is used when scoring with risk Definition at line 106 of file PlayerSettings.h. Referenced by getShootRiskProbability(), PlayerSettings(), and setShootRiskProbability(). |
|
This is the radius around the strategic position in which an optimal position is determined. Definition at line 103 of file PlayerSettings.h. Referenced by getStratAreaRadius(), PlayerSettings(), and setStratAreaRadius(). |
|
Threshold value for angle difference that indicates when the ball is kicked in turnWithBallTo skill. Definition at line 116 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 119 of file PlayerSettings.h. Referenced by getTurnWithBallFreezeThr(), PlayerSettings(), and setTurnWithBallFreezeThr(). |
|
Cycles the coach waits after a catch has been performed before he shoots. Definition at line 109 of file PlayerSettings.h. Referenced by getCyclesCatchWait(), PlayerSettings(), and setCyclesCatchWait(). |
|
how many cycles to ball when intercept Definition at line 79 of file PlayerSettings.h. Referenced by getPlayerWhenToIntercept(), PlayerSettings(), and setPlayerWhenToIntercept(). |
|
Number of seconds before the soccer server is assumed dead. Definition at line 111 of file PlayerSettings.h. Referenced by getServerTimeOut(), PlayerSettings(), and setServerTimeOut(). |