Strategy Symbols

Symbols for some high level strategy decisions.

The formalized behavior references a variety of input and output symbols, which can stand for variables or functions of the agent's software. Constants are constant decimal values.

Input Symbols

NameTypeMeasureDescription
robot-numberdecimalintThe robots back number
roleenumeratedgoalie

defensive-supporter

striker

offensive-supporter

The role of the robot
estimated-time-to-reach-balldecimalsEstimates the time to reach the ball. Used in dynamic role selection.
another-player-is-in-ready-statebooleantrue/ falseAnother player sent that it is in the ready state
another-player-is-in-initial-statebooleantrue/ falseAnother player sent that it is in the ready state
another-teammate-is-performing-a-kickbooleantrue/ falseAnother teammate sent that it is performing a kick
another-teammate-is-performing-a-passbooleantrue/ falseAnother teammate sent that it is performing a pass
the-striker-is-playing-near-the-opponent-goalbooleantrue/ falseThe striker is playing the ball in the near of the opponent goal
the-striker-is-not-playing-near-the-opponent-goalbooleantrue/ falseThe striker is not playing the ball in the near of the opponent goal (back hysteresis)
the-striker-is-playing-near-the-own-goalbooleantrue/ falseThe striker is playing the ball in the near of the own goal
the-striker-is-not-playing-near-the-own-goalbooleantrue/ falseThe striker is not playing the ball in the near of the own goal (back hysteresis)
search-ball.xdecimalmmThe x position the robot searches the ball at after it was not seen for long
goalie-max-position-speeddecimalmm/sthe maximum speed for the goalie positioning dependent on the ball distance
strategy.time-since-last-carry-balldecimalmsecthe time since last carry_ball (set with strategy.set_time_carry_ball)
strategy.time-since-last-kickdecimalmsecthe time since last carry_ball (set with strategy.set_time_carry_ball)
strategy.ball-is-handled-at-the-momentbooleantrue/ falseAn ball handling movement is executed
strategy.going-to-interception-pointbooleantrue/ falseAn approach interception point is executed

Input Functions

NameMeasureDescription / Parameters
get-angle-to-teammateDegreturns the angle to a given player in own team
 
ParameterMeasureRangeDescription
get-angle-to-teammate.index0-3index

Output Symbols

NameTypeMeasureDescription
sent-game-stateenumeratedsent-game-state.sleep

sent-game-state.initial

sent-game-state.ready

sent-game-state.set

sent-game-state.playing

sent-game-state.penalized

sent-game-state.finished

The game state that is sent to my teammates
team-messageenumeratedteam-message.none

team-message.performing-a-kick

team-message.performing-a-pass

The message that is sent to all other teammates
strategy.ball-handlingenumeratedhandling-the-ball

going-to-interception-point

dribble-the-ball

performing-a-kick

not-handling-the-ball

Sets whether the ball is handled at the moment
strategy.set-time-carry-ballenumeratedstrategy.set-time-carry-ball.dont-save

strategy.set-time-carry-ball.save-time

strategy.set-time-carry-ball.reset-time

set or reset the time since last carry ball
strategy.set-time-kickenumeratedstrategy.set-time-kick.dont-save

strategy.set-time-kick.save-time

strategy.set-time-kick.reset-time

set or reset the time since last kick