A B C D E F G H I K M O P R S T U V W

A

actionPerformed(ActionEvent) - Method in class GUI.actionlistener
 
actualTime - Variable in class Brain
 
actualTime - Variable in class Worldmodel
 
actualTime() - Method in class Worldmodel
 
angle - Variable in class VisualObject
The relative angle to the player who perceived it.
angle() - Method in class VisualObject
 
atGamePos() - Method in class Brain
The atGamePos method is used to cause the player to go back to the middle of his radius whenever the ball is not within reach
atPoint(double, double) - Method in class Brain
The atPoint method is used to recognize wheter a position has been reached or not atPoint = false ---> position is not reached (default) atPoint = true ---> position is reached

B

ballCanBeSeen() - Method in class Brain
The ballCanBeSeen method test if ball can be seen
ballCatched - Variable in class Brain
 
ballInRadius() - Method in class Brain
The ballInRadius method test if ball is within the player´s action-radius
ballKickAble() - Method in class Brain
The ballKickAble method test if ball is perfect to kick
bodyDoubleArray - Variable in class Worldmodel
bodyDoubleArray = array with length 16 and: [0]: time [1]: view_mode(1){ 0="high" | 1="low" } [2]: view_mode(2){ 0="narrow" | 1="normal" | 2="wide" } [3]: stamina(1) ( Stammina ) [4]: stamina(2) ( Effort ) [5]: speed(1) ( AmountOfSpeed ) [6]: speed(2) ( DirectionOfSpeed )[-180 ~ 180 degrees] [7]: head-angle ( HeadAngle ) [-180 ~ 180 degrees] [8]: kick ( KickCount ) [positive integer] [9]: dash ( DashCount ) [positive integer] [10]: turn ( TurnCount ) [positive integer] [11]: say ( SayCount ) [positive integer] [12]: turn_neck ( TurnNeckCount ) [positive integer] [13]: catch ( CatchCount ) [positive integer] [14]: move ( MoveCount ) [positive integer] [15]: change_view ( ChangeViewCount )[positive integer] Author: Ramin Radpour
bodyDoubleArray() - Method in class Player
Should be called from the GUI
bodyDoubleArray() - Method in class Worldmodel
 
bodyFaceDir - Variable in class VisualObject
...
bodyFaceDir() - Method in class VisualObject
 
brain - Variable in class Player
The brain of each player
Brain - class Brain.
The Brain class is used to compute and steer the actual player.
Brain(PlayerAction, Player, Worldmodel) - Constructor for class Brain
Creates a new Brain instance.
buffer() - Static method in class RoboClient
Buffers the first incoming messages for a timeinterval in which the GUI is not initialized.
Author: Wini Appl
bufferIndex - Static variable in class RoboClient
Counter of the Buffer; points at last message received
buildMessage() - Method in class Brain
The buildMessage method builds message containing positions to cry out to all the world message contains information in this order: password myNr time0 x0 y0 time1 x1 y1 ... time22 x22 y22 all information is stored as integer

C

calcAngle2Obj(double, double) - Method in class Brain
The calcAngle2Obj method calculates angle to turn to face direction to an object.
calcDashPower(double, double) - Method in class Brain
The calcDashPower method calculates power to dash using the distance to the coordinates to dash to Author: Ramin Radpour
calcDist(double, double, double, double) - Method in class Brain
The calcDistr method calculates the distance between two objects Author: Ramin Radpour
calcKickPower(double, double) - Method in class Brain
The calcKickPower method calculates power to kick the ball refering to distance of object to pass to.
calcObjectDir(double, double, double, double) - Method in class Brain
The calcObjectDir method calculates actual moving direction of an object by giving the angle to absangle back. oldX, oldY are old and actX, actY actual positions of the object; timedif is the diference between the timecycle of oldX/Y and actX/Y.
calcOwnPos() - Method in class Worldmodel
The calcOwnPos method calculates ownPosition and uses getNextFlag and getLineAngle fills positions[myNr][0,1,5,6] Author: Ramin Radpour
calcPositions() - Method in class Worldmodel
The calcPositions method calculates absolute positions of seen objects. uses methods calcOwnPos() and rel2abs() Author: Ramin Radpour
catchBall() - Method in class Brain
The catchBall method is the main routine of goalie
Author: Anita Reifsteck (Implementation), Ramin Radpour (Implementation), Wini Appl (Transmission to GUI)
catching(double) - Method in class PlayerAction
C A T C H catching the ball
change_view(String, String) - Method in class PlayerAction
C H A N G E __ V I E W change_view Width Quality
checkGUIAlert - Static variable in class RoboClient
set to true, if GUI took over the command line tool-output
checkMode - Static variable in class RoboClient
Checks if either the Sender is a Player, or message-priority is set to high
communication - Variable in class Parser
The Communication object
communication - Variable in class Player
The communication of each player
communication - Variable in class PlayerAction
 
communication - Variable in class Worldmodel
The Communication object
Communication - class Communication.
The Communication class takes care of the server-client UDP-Packet-transmission.
Communication(String, int) - Constructor for class Communication
Constructor of another Communication instance; handles transfer errors.
Author: Wini Appl
countTactics - Static variable in class RoboClient
Counter to avoid multiple denominations in the Tactics Array; points on most recent message
currentTime - Variable in class Parser
current time

D

d - Variable in class GUI
Selected player
dash(double) - Method in class PlayerAction
D A S H dashing to the direction the player is facing parameter power represents acceleration: valid range: minpower -100; maxpower +100; where power < 0 means accelerating backwards [stamina costs: -2 * power]
datagramSocket - Variable in class Communication
initializes a new Datagram Socket-class
daten - Variable in class GUI
The textarea component
dbGraphics - Variable in class Spielfeld
 
dbImage - Variable in class Spielfeld
 
dirChange - Variable in class VisualObject
...
dirChange() - Method in class VisualObject
 
disconnect() - Method in class Worldmodel
 
distance - Variable in class VisualObject
The relative distance to the player who perceived it.
distance() - Method in class VisualObject
 
distChange - Variable in class VisualObject
...
distChange() - Method in class VisualObject
 

E

enemyInFront() - Method in class Brain
The enemyInFront method test if one enemy in front of me
event - Variable in class Worldmodel
event = array with following content: [0]: time [1]: { 0=hear | 1=visual | 2=body }
event() - Method in class Worldmodel
 

F

flagPosition(VisualObject) - Method in class Worldmodel
The flagPosition method gives absolute flagposition back
flushBuffer() - Static method in class RoboClient
Writes whole buffer-content to the GUI-display, if initialized.
Author: Wini Appl
freeKick() - Method in class Brain
The freeKick method is Goalie free kick after catching the ball Author: Anita Reifsteck
friendHot() - Method in class Brain
The friendHot method calculates possible teammembers to pass to
futurePos - Variable in class Brain
 

G

gamePos - Variable in class Brain
 
gamePos() - Method in class Brain
The gamePos method defines the action-area.
getBall() - Method in class Brain
The getBall method makes the particular Player run to the ball.
getintPositionen() - Method in class Spielfeld
Transformes the array of the selected player to integer values. this method is called in the thread.
getLineAngle() - Method in class Worldmodel
The getLineAngle method gives seen line with see-angle back
getNextFlag() - Method in class Worldmodel
The getNextFlag method takes the nearest flag of all seen ones
getPlayer() - Method in class GUI
Returns the value of the selected item Author: Alexander Lillich
giveData() - Method in class Worldmodel
 
giveWorldData() - Method in class Player
Should be called from the GUI.
goalie - Variable in class VisualObject
The boolean goalie is true if the player is a goalie.
goalie() - Method in class VisualObject
 
goalKickGood() - Method in class Brain
The ballKickAble method test if own position is perfekt to kick to goal
gotoPoint(double, double) - Method in class Brain
The gotoPoint method moves player to given coordinates Author: Ramin Radpour
gotoPos() - Method in class Brain
The gotoPos method moves Player to his Game Position Author: Thorsten Fiekert
gui - Static variable in class RoboClient
a GUI object, which is the visualisation of the worldmodel
gui - Variable in class Spielfeld
The GUI object
GUI - class GUI.
The GUI class is used to visualize the worldmodel of one special player.
gui_Check() - Method in class GUI
Is checking, if initialization of the Graphical User Interface worked out.
gui_Out(String) - Method in class GUI
Displays incoming messages on the JTextArea.
GUI.actionlistener - class GUI.actionlistener.
Eventhandling for the JButton "Beenden" is being capsuled here.
Author: Alexander Lillich, Wini Appl
GUI.actionlistener(GUI) - Constructor for class GUI.actionlistener
 
GUI.MeinWindowAdapter - class GUI.MeinWindowAdapter.
Eventhandling for the window Author: Alexander Lillich
GUI.MeinWindowAdapter(GUI) - Constructor for class GUI.MeinWindowAdapter
 
GUI(Player[]) - Constructor for class GUI
Constructor.

H

headFaceDir - Variable in class VisualObject
...
headFaceDir() - Method in class VisualObject
 
hearEvent() - Method in class Brain
The hearEvent method uses heared messages from teammembers to complete own positions Author: Ramin Radpour
hearStringArray - Variable in class Worldmodel
hearStringArray = String array with following content: [0]: time [1]: sender { "referee" | "self" | direction | "online_coach_left" | "online_coach_right"} [2]: message time can be converted to int direction can be converted to double Author: Ramin Radpour
hearStringArray() - Method in class Player
Should be called from the GUI
hearStringArray() - Method in class Worldmodel
 

I

init() - Method in class Worldmodel
The init method initializates players and gets information from server about playdirection, own Number and playmode Author: Patrick Ficher
initialized - Variable in class Worldmodel
 
initialized() - Method in class Worldmodel
 
initPos - Variable in class Brain
 
initPos() - Method in class Brain
The initPos method initial positions of all players at start of game or after goal Author: Thorsten Fiekert
initStartPos() - Method in class Brain
The initStartPos method setting up start positions before kickoff or after goal Author: Ramin Radpour
inMyOwnRadius() - Method in class Brain
The inMyOwnRadius method test if player is in his action-radius This method is used to make sure that the player won´t leave his action-radius
intPositionen - Variable in class Spielfeld
The Positionsarray in integer
itemStateChanged(ItemEvent) - Method in class GUI
Here the Player chosen by JPanel "Beenden" is determined.

K

kick(int, double) - Method in class PlayerAction
K I C K kicking the ball

M

main(String[]) - Static method in class RoboClient
This is the main method which starts 11 player-Threads and one GUI (if wanted)
move(double, double) - Method in class PlayerAction
M O V E move player to a position
myNr - Variable in class Brain
 
myNr - Variable in class Spielfeld
The player number
myNr - Variable in class Worldmodel
 
myNr() - Method in class Spielfeld
gives the selected playernumber of the GUI back. this method is called in the thread Author: Alexander Lillich

O

objectName - Variable in class VisualObject
Name of the perceived Object.
objectName() - Method in class VisualObject
 

P

paintComponent(Graphics) - Method in class Spielfeld
This method paints the whole playing field.
parse() - Method in class Parser
Parse is the main method of the parser.
parsedID - Variable in class Worldmodel
 
parser - Variable in class Worldmodel
The Parser object
Parser - class Parser.
The Parser class is used to divide the input-stream from the communication-module into tokens.
Parser(Communication) - Constructor for class Parser
Creates a new Parser instance.
play() - Method in class Brain
The play method is the main method Author: Ramin Radpour, Author: Patrick Ficher
playDirectionRight - Variable in class Worldmodel
 
playDirectionRight() - Method in class Player
Should be called from the GUI
playDirectionRight() - Method in class Worldmodel
Should be called from the GUI
player - Variable in class Brain
 
player - Variable in class GUI
The player[] object
player - Static variable in class RoboClient
a Player array with length 11
player - Variable in class Spielfeld
The player[] object
Player - class Player.
This class initializes communication, brain and worldmodel.
Player(String, int) - Constructor for class Player
Creates a new Player instance.
playerAction - Variable in class Brain
 
playerAction - Variable in class Player
The PlayerAction of each player
PlayerAction - class PlayerAction.
PlayerAction implements the basic abilities a player can perform.
PlayerAction(Communication) - Constructor for class PlayerAction
 
playerChanged - Variable in class Brain
 
playerChanged - Variable in class Worldmodel
 
playerNr() - Method in class Worldmodel
 
playHard() - Method in class Brain
The playHard method have many decisions, so it can really be called brain
Author: Ramin Radpour (Implementation), Wini Appl (Transmission to GUI)
playmode() - Method in class Worldmodel
 
playRight - Variable in class Brain
 
Positionen - Variable in class Spielfeld
The Positionsarray
positions - Variable in class Brain
 
positions - Variable in class Worldmodel
positions = array[][] with double[] of length 7 with following content: first positions [x][]: [0] : ball [1] - [11] : player of own team related to player-number [12]- [22] : player of the other team related to player-number + 11 second positions [][x]: [0] : x-position [1] : y-position [2] : by rccs-server given distance [3] : by rccs-server given angle (no absolute angle) [4] : by rccs-server given distanceChange - not used [5] : timecyclus [6] : absolute angle (in case of ownNumber) and distance to ball (in case of other player) initialazion value is 1000.0 Author: Ramin Radpour

R

receive() - Method in class Communication
The Receive-method fetches data from the server and passes it on to the Worldmodel.
Author: Wini Appl
refereeMsg - Variable in class Brain
 
refereeMsg - Variable in class Worldmodel
 
refereeMsg() - Method in class Worldmodel
The refereeMsg method receive and set referee messages Author: Thorsten Fiekert
rel2abs(double, double) - Method in class Worldmodel
The rel2abs method calculates absolute values with by server passed information.
RoboClient - class RoboClient.
This class contains the main method which starts 11 player-Threads and one GUI (if wanted).
The RoboClient must be started like this:
java RoboClient [TEAMNAME [SERVERNAME [SERVERPORT]]] [-gui]
RoboClient() - Constructor for class RoboClient
Constructor
run() - Method in class Player
Starts the brain
run() - Method in class Spielfeld
In the continuous loop the method repaint() is called. so all 50 ms a new playing field is painted and this give us the impression of an animation Author: Alexander Lillich
run() - Method in class Worldmodel
The run method differes between hear, see and body events Author: Ramin Radpour Author: Patrick Ficher

S

say(String) - Method in class PlayerAction
S A Y say a message
selectedplayer - Variable in class GUI
The combobox component
send(String) - Method in class Communication
The Send-method converts any incoming input-string into a byte-array and sends it to the server.
Author: Wini Appl
serverIP - Variable in class Communication
this java-own class represents an Internet Protocol-address
serverPort - Variable in class Communication
 
sf - Variable in class GUI
The GUI object
Spielfeld - class Spielfeld.
The Spielfeld class paints the playing field and the players who are seen of the selected player.
Spielfeld(GUI, Player[]) - Constructor for class Spielfeld
Constructor Author: Alexander Lillich
startAnimation() - Method in class Spielfeld
Starts the thread. the method is called in the GUI.
startGUI - Static variable in class RoboClient
set to true if GUI has been started false if GUI turned off as chosen in the Command Line Tool (see Documentation for further information) initial value = false

T

tactics - Static variable in class RoboClient
Stores all incoming messages in the following format : [1] = Timecycle message got stored in [2] = Actual message [3] = Player, which sent the message; if "0" message-priority is high
teamname - Static variable in class RoboClient
the teamname
teamName - Variable in class VisualObject
The teamName the perceived Player belongs to.
teamName - Variable in class Worldmodel
 
teamName() - Method in class VisualObject
 
tellTeamName() - Static method in class RoboClient
Just returns the teamname
timecyclus - Variable in class VisualObject
Timecyclusthe object was perceived in.
timecyclus() - Method in class VisualObject
Those public methods only return the value of above's attributes.
tokenizeBodyevent(String) - Method in class Parser
The tokenizeBodyevent method takes only care of incoming body_sense messages (see Users Manual 4.2.2).
tokenizeHearevent(String) - Method in class Parser
The tokenizeHearevent method takes only care of incoming hear messages (see Users Manual 4.2.2).
tokenizeVisualevent(String) - Method in class Parser
The tokenizeVisualevent method takes only care of incoming see messages.
transmitTactics(String, int) - Static method in class RoboClient
Stores all tactical computations, sent by the players and passes the most actual messages on to the GUI.
turn(double) - Method in class PlayerAction
T U R N turning the players body direction parameter moment represents turning-angle: valid range: minmoment -180; maxmoment +180;

U

uniformNr - Variable in class VisualObject
The uniformNr the perceived Player has.
uniformNr() - Method in class VisualObject
 
update(Graphics) - Method in class Spielfeld
this method reduces the flicker of the screen by initialising a double-buffer.

V

vector - Variable in class Worldmodel
The Vector object
visualObject - Variable in class Parser
The VisualObject object
VisualObject - class VisualObject.
This class stores all visually perceived objects for further treatments.
VisualObject(int, String, String, int, boolean, double, double, double, double, double, double) - Constructor for class VisualObject
 

W

whoIsNearest2Ball() - Method in class Brain
The whoIsNearest2Ball method finds out, which player from each team stands nearest to ball [0]: own player nearest to ball [1]: enemy nearest to ball [2]: distance ownPlayer to ball [3]: distance enemy to ball Author: Ramin Radpour
windowClosing(WindowEvent) - Method in class GUI.MeinWindowAdapter
 
world - Variable in class Brain
 
world - Variable in class Player
The worldmodel of each player
Worldmodel - class Worldmodel.
The Worldmodel class is used to calculate absolute positions of seen objects with their given relative data.
Worldmodel(Communication) - Constructor for class Worldmodel
Creates a new Worldmodel instance.

A B C D E F G H I K M O P R S T U V W