Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
M
N
O
P
R
S
T
U
V
X
Y
A
add(Vector2d)
- Method in class roboplayer.geometry.
Vector2d
Add vector
addHearListener(HearListener)
- Method in class roboplayer.core.body.
Body
This function registers HearListener interface
addOld(Polar)
- Method in class roboplayer.geometry.
Polar
Add given polar to this one
addParam(String, String)
- Method in class roboplayer.fsm.
State
Add parameter to the state
addParamsListener(ParamsListener)
- Method in class roboplayer.core.body.
Body
This function registers ParamsListener interface
addSeeListener(SeeListener)
- Method in class roboplayer.core.body.
Body
This function registers SeeListener interface
addTickListener(TickListener)
- Method in class roboplayer.core.body.
Body
This function registers TickListener interface
addTransition(Transition)
- Method in class roboplayer.fsm.
State
Add transition to the list
Angle
- class roboplayer.geometry.
Angle
.
Helper class for different angle covertion functions.
Angle()
- Constructor for class roboplayer.geometry.
Angle
B
BallCatched
- class roboplayer.fsm.condition.
BallCatched
.
This condition check if can kick the ball
BallCatched()
- Constructor for class roboplayer.fsm.condition.
BallCatched
BallInArea
- class roboplayer.fsm.condition.
BallInArea
.
This condition check if ball is inside our defending area
BallInArea()
- Constructor for class roboplayer.fsm.condition.
BallInArea
BallWatcher
- class roboplayer.sample.
BallWatcher
.
BallWatcher()
- Constructor for class roboplayer.sample.
BallWatcher
Body
- class roboplayer.core.body.
Body
.
This class represents robot body.
Body(InetAddress, int)
- Constructor for class roboplayer.core.body.
Body
Standard constructor
bye()
- Method in class roboplayer.core.body.
Body
Disconnect from the server
C
CanKick
- class roboplayer.fsm.condition.
CanKick
.
This condition check if can kick the ball
CanKick()
- Constructor for class roboplayer.fsm.condition.
CanKick
catchBall(double)
- Method in interface roboplayer.core.body.
RobotCommands
catchBall(double)
- Method in class roboplayer.core.body.
Body
This function sends catch command to the server
CatchBallState
- class roboplayer.fsm.state.
CatchBallState
.
This state is used to catch the ball.
CatchBallState()
- Constructor for class roboplayer.fsm.state.
CatchBallState
changeView(String, String)
- Method in interface roboplayer.core.body.
RobotCommands
changeView(String, String)
- Method in class roboplayer.core.body.
Body
This function sends chage_view command to the server
checkCondition(RoboCore)
- Method in class roboplayer.fsm.
Transition
Check if condition for this transition is met.
ClearBallState
- class roboplayer.fsm.state.
ClearBallState
.
This state is used to clear the ball
ClearBallState()
- Constructor for class roboplayer.fsm.state.
ClearBallState
Condition
- class roboplayer.fsm.
Condition
.
This class represents condition.
Condition()
- Constructor for class roboplayer.fsm.
Condition
ConditionFactory
- class roboplayer.fsm.
ConditionFactory
.
This class represents factory which can be used to create condition.
ConditionFactory()
- Constructor for class roboplayer.fsm.
ConditionFactory
ControlBallState
- class roboplayer.fsm.state.
ControlBallState
.
This state is used to control the ball.
ControlBallState()
- Constructor for class roboplayer.fsm.state.
ControlBallState
createCondition(String)
- Method in class roboplayer.fsm.
ConditionFactory
Create condtion
createPlayersFromFile(InetAddress, int, String)
- Method in class roboplayer.player.
Team
createState(String)
- Method in class roboplayer.fsm.
StateFactory
Create state
D
DASH_FAST
- Static variable in class roboplayer.core.
RoboCore
DASH_NORMAL
- Static variable in class roboplayer.core.
RoboCore
DASH_SLOW
- Static variable in class roboplayer.core.
RoboCore
dash(double)
- Method in interface roboplayer.core.body.
RobotCommands
dash(double)
- Method in class roboplayer.core.body.
Body
This function sends dash command to the server
dashTo(Polar, int)
- Method in class roboplayer.core.
RoboCore
Dash to given position Helper function
dashTo(Vector2d, int)
- Method in class roboplayer.core.
RoboCore
Dash to given position Helper function
dashToBackward(Polar)
- Method in class roboplayer.core.
RoboCore
This function sends dash message Helper function
dashToBackward(Vector2d)
- Method in class roboplayer.core.
RoboCore
This function sends dash message Helper function
debug(String)
- Method in class roboplayer.core.
RoboCore
Print debug message
DebugPanel
- class roboplayer.debug.
DebugPanel
.
This class helps debuging client.
DebugPanel(RoboCore)
- Constructor for class roboplayer.debug.
DebugPanel
Deg2Rad(double)
- Static method in class roboplayer.geometry.
Angle
This function changes deg to rad
dir
- Variable in class roboplayer.geometry.
Polar
dist
- Variable in class roboplayer.geometry.
Polar
DummyPlayer
- class roboplayer.sample.
DummyPlayer
.
DummyPlayer()
- Constructor for class roboplayer.sample.
DummyPlayer
E
evaluate(RoboCore)
- Method in class roboplayer.fsm.
Condition
Evaluate condition
evaluate(RoboCore)
- Method in class roboplayer.fsm.condition.
IsNearestToBall
Check distance to the ball
evaluate(RoboCore)
- Method in class roboplayer.fsm.condition.
GameStarted
Evaluate condition
evaluate(RoboCore)
- Method in class roboplayer.fsm.condition.
CanKick
Check distance to the ball
evaluate(RoboCore)
- Method in class roboplayer.fsm.condition.
BallInArea
Evaluate condition
evaluate(RoboCore)
- Method in class roboplayer.fsm.condition.
BallCatched
Check distance to the ball
execute(RoboCore)
- Method in class roboplayer.fsm.
State
Execute code contained in this state
execute(RoboCore)
- Method in class roboplayer.fsm.state.
ShootState
This function tries to score goal.
execute(RoboCore)
- Method in class roboplayer.fsm.state.
KeepPositionState
The defending area should be given in the configuration file.
execute(RoboCore)
- Method in class roboplayer.fsm.state.
InterceptBallState
This function tries to be a little smart.
execute(RoboCore)
- Method in class roboplayer.fsm.state.
ControlBallState
This function tries to do something with ball.
execute(RoboCore)
- Method in class roboplayer.fsm.state.
ClearBallState
This function clear the ball.
execute(RoboCore)
- Method in class roboplayer.fsm.state.
CatchBallState
This function tries to catch a ball
F
faceDir
- Variable in class roboplayer.core.memory.
ObjectInfo
Face direction (for players)
FSMParser
- class roboplayer.fsm.
FSMParser
.
This class is used to parse configuration file and initialise FSM.
FSMParser()
- Constructor for class roboplayer.fsm.
FSMParser
Constructor
G
GameStarted
- class roboplayer.fsm.condition.
GameStarted
.
This condition check if the game started.
GameStarted()
- Constructor for class roboplayer.fsm.condition.
GameStarted
GameStateInfo
- class roboplayer.core.memory.
GameStateInfo
.
This class keeps information about state of the game.
GameStateInfo(Body, char)
- Constructor for class roboplayer.core.memory.
GameStateInfo
Constructor
getBall()
- Method in class roboplayer.core.memory.
VisualInfo
getBallDecay()
- Method in class roboplayer.core.memory.
Params
getBody()
- Method in class roboplayer.core.
RoboCore
Get robot body
getCatchableAreaL()
- Method in class roboplayer.core.memory.
Params
getCatchableAreaW()
- Method in class roboplayer.core.memory.
Params
getCenter()
- Method in class roboplayer.geometry.
Rectangle
return center of the rectangle
getDashPowerRate()
- Method in class roboplayer.core.memory.
Params
getData()
- Method in class roboplayer.core.memory.
VisualInfoParser
Get parsed elements
getData(String)
- Method in class roboplayer.core.memory.
TacticalInfo
Get data
getDirection()
- Method in class roboplayer.core.memory.
VisualInfo
getDistance(Polar)
- Method in class roboplayer.geometry.
Polar
This function calculates distance between this and given second polar
getDistance(Vector2d)
- Method in class roboplayer.geometry.
Vector2d
Get distance to second vector
getEfford()
- Method in class roboplayer.core.body.
Body
Player current efford
getEffortDecThr()
- Method in class roboplayer.core.memory.
Params
getFieldArea()
- Method in class roboplayer.core.memory.
Params
getGameStateInfo()
- Method in class roboplayer.core.memory.
Memory
Get game state information
getGoalWidth()
- Method in class roboplayer.core.memory.
Params
getHeadAngle()
- Method in class roboplayer.core.body.
Body
Player head angle
getLandmark(String)
- Method in class roboplayer.core.memory.
VisualInfo
getLastTurnAngle()
- Method in class roboplayer.core.body.
Body
Get information about last turn command which was already send, but which was not included in any visual info yet.
getLength()
- Method in class roboplayer.geometry.
Vector2d
Get length of this vector
getMaxPower()
- Method in class roboplayer.core.memory.
Params
getMemory()
- Method in class roboplayer.core.
RoboCore
Get robot memory
getMinPower()
- Method in class roboplayer.core.memory.
Params
getMyGoalPos()
- Method in class roboplayer.core.memory.
VisualInfo
getNearestPlayer(Polar)
- Method in class roboplayer.core.memory.
VisualInfo
getNearestTeammate(Polar)
- Method in class roboplayer.core.memory.
VisualInfo
This function looks for nearest player to specified position.
getOpponentGoalPos()
- Method in class roboplayer.core.memory.
VisualInfo
getOpponentPlayer(double)
- Method in class roboplayer.core.memory.
VisualInfo
getParams()
- Method in class roboplayer.core.
RoboCore
Get robot parameters
getPlayers()
- Method in class roboplayer.core.memory.
VisualInfo
Return all players
getPlayerSize()
- Method in class roboplayer.core.memory.
Params
getPolar(Vector2d)
- Method in class roboplayer.core.memory.
VisualInfo
This function returns polar coordinates of specified point
getPolarChange()
- Method in class roboplayer.core.memory.
ObjectInfo
Get position change in polar coords
getPosition()
- Method in class roboplayer.core.memory.
VisualInfo
getPosition()
- Method in class roboplayer.geometry.
Polar
This function calculates position from polar coordinates
getRecoverDecThr()
- Method in class roboplayer.core.memory.
Params
getSide()
- Method in class roboplayer.core.memory.
Params
getSpeed()
- Method in class roboplayer.core.body.
Body
Player current speed
getSpeed()
- Method in class roboplayer.core.memory.
ObjectInfo
Get speed vector
getStamina()
- Method in class roboplayer.core.body.
Body
Player current stamina
getStaminaMax()
- Method in class roboplayer.core.memory.
Params
getState()
- Method in class roboplayer.fsm.
Transition
get destination state for this transition
getStepCount(double)
- Method in class roboplayer.core.
RoboCore
Calculate how many steps are needed to pass this distance.
getTacticalInfo()
- Method in class roboplayer.core.memory.
Memory
Get tactical information
getTeamName()
- Method in class roboplayer.core.memory.
Params
getTime()
- Method in class roboplayer.core.memory.
VisualInfoParser
Get time
getTurnAngle()
- Method in class roboplayer.core.memory.
VisualInfo
getUniformNumber()
- Method in class roboplayer.core.memory.
Params
getVectorPos()
- Method in class roboplayer.core.memory.
ObjectInfo
Get position vector coords
getViewAngle()
- Method in class roboplayer.core.body.
Body
Get information about view angle
getVisualInfo()
- Method in class roboplayer.core.memory.
Memory
Get visual information
H
HearListener
- interface roboplayer.core.body.
HearListener
.
This interface is used to send hear information.
I
init(String, boolean)
- Method in class roboplayer.core.
RoboCore
Connect to server
init(String, boolean)
- Method in class roboplayer.core.body.
Body
Connect to server
init(String, String)
- Method in class roboplayer.player.
Player
Initialize body for player
InterceptBallState
- class roboplayer.fsm.state.
InterceptBallState
.
This state is used to intercept ball.
InterceptBallState()
- Constructor for class roboplayer.fsm.state.
InterceptBallState
isBeforeKickOff()
- Method in class roboplayer.core.memory.
GameStateInfo
isDrop_Ball()
- Method in class roboplayer.core.memory.
GameStateInfo
isIn(Vector2d)
- Method in class roboplayer.geometry.
Rectangle
check if given point is inside rectangle
isMyFreeKick()
- Method in class roboplayer.core.memory.
GameStateInfo
IsNearestToBall
- class roboplayer.fsm.condition.
IsNearestToBall
.
This condition check if can kick the ball
IsNearestToBall()
- Constructor for class roboplayer.fsm.condition.
IsNearestToBall
isOpponentFreeKick()
- Method in class roboplayer.core.memory.
GameStateInfo
isPlaying()
- Method in class roboplayer.core.memory.
GameStateInfo
isPlayOn()
- Method in class roboplayer.core.memory.
GameStateInfo
isReady()
- Method in class roboplayer.core.
RoboCore
Check if robot is ready to play.
isTimeOver()
- Method in class roboplayer.core.memory.
GameStateInfo
K
KeepPositionState
- class roboplayer.fsm.state.
KeepPositionState
.
This state is used to keep the player in the defending position.
KeepPositionState()
- Constructor for class roboplayer.fsm.state.
KeepPositionState
kick(double, double)
- Method in interface roboplayer.core.body.
RobotCommands
kick(double, double)
- Method in class roboplayer.core.body.
Body
This function sends kick command to the server
kickAt(double, double)
- Method in class roboplayer.core.
RoboCore
This function kicks ball at specified direction.
M
Machine
- class roboplayer.fsm.
Machine
.
This class represents machine.
Machine(State, RoboCore)
- Constructor for class roboplayer.fsm.
Machine
Constructor
main(String[])
- Static method in class roboplayer.player.
Team
main(String[])
- Static method in class roboplayer.player.
Player
main(String[])
- Static method in class roboplayer.sample.
DummyPlayer
main(String[])
- Static method in class roboplayer.sample.
BallWatcher
makeTransition(RoboCore)
- Method in class roboplayer.fsm.
State
Check all transition.
Memory
- class roboplayer.core.memory.
Memory
.
This class is a storage for all information which is gathered by robot
Memory(Body, Params, char, String)
- Constructor for class roboplayer.core.memory.
Memory
Constructor
move(double, double)
- Method in interface roboplayer.core.body.
RobotCommands
move(double, double)
- Method in class roboplayer.core.body.
Body
This function sends move command to the server.
multiply(double)
- Method in class roboplayer.geometry.
Vector2d
Multiply by scalar
N
name
- Variable in class roboplayer.core.memory.
ObjectInfo
Name of this object
Normalize(double)
- Static method in class roboplayer.geometry.
Angle
This function normalizes angle so it is between [-180, 180]
O
ObjectInfo
- class roboplayer.core.memory.
ObjectInfo
.
Represents object in Visual information.
ObjectInfo(String)
- Constructor for class roboplayer.core.memory.
ObjectInfo
Constructor
onHear(String)
- Method in interface roboplayer.core.body.
HearListener
onHear(String)
- Method in class roboplayer.core.memory.
GameStateInfo
This function looks for referee message
onInit(String, char, int)
- Method in interface roboplayer.core.body.
ParamsListener
onInit(String, char, int)
- Method in class roboplayer.core.memory.
Params
Init params
onParams(String)
- Method in interface roboplayer.core.body.
ParamsListener
onParams(String)
- Method in class roboplayer.core.memory.
Params
Parse parameters
onSee(String)
- Method in interface roboplayer.core.body.
SeeListener
see message will be send to this function
onSee(String)
- Method in class roboplayer.core.memory.
VisualInfo
onSee(String)
- Method in class roboplayer.sample.
DummyPlayer
onTick()
- Method in interface roboplayer.core.body.
TickListener
Send to tick listener.
onTick()
- Method in class roboplayer.debug.
DebugPanel
onTick()
- Method in class roboplayer.fsm.
Machine
This is main Brain function used to make decision Check play mode and call suitable function
onTick()
- Method in class roboplayer.sample.
BallWatcher
Look at the ball.
P
paint(Graphics)
- Method in class roboplayer.debug.
DebugPanel
Params
- class roboplayer.core.memory.
Params
.
This class contains all parameters passed from server.
Params()
- Constructor for class roboplayer.core.memory.
Params
ParamsListener
- interface roboplayer.core.body.
ParamsListener
.
This interface is used to send messages which contains different parameters.
parse()
- Method in class roboplayer.core.memory.
VisualInfoParser
parse(Node)
- Method in class roboplayer.fsm.
FSMParser
Parse script file
PENALTY_AREA_LENGTH
- Variable in class roboplayer.core.memory.
Params
PENALTY_AREA_WIDTH
- Variable in class roboplayer.core.memory.
Params
PITCH_LENGTH
- Variable in class roboplayer.core.memory.
Params
PITCH_WIDTH
- Variable in class roboplayer.core.memory.
Params
Player
- class roboplayer.player.
Player
.
Player(InetAddress, int)
- Constructor for class roboplayer.player.
Player
This constructor opens socket for connection with server
Polar
- class roboplayer.geometry.
Polar
.
Helper class for operations on polar coordinates.
Polar()
- Constructor for class roboplayer.geometry.
Polar
Empty constructor
Polar(double, double)
- Constructor for class roboplayer.geometry.
Polar
Constructor.
Polar(Polar)
- Constructor for class roboplayer.geometry.
Polar
Constructor.
polar2Vector(double, Vector2d)
- Method in class roboplayer.core.memory.
ObjectInfo
This function updates Vector coordinates in all ObjectInfo object.
positionFromPolar(Polar)
- Method in class roboplayer.core.memory.
VisualInfo
This function calculates position from polar coordinates
probability
- Variable in class roboplayer.core.memory.
ObjectInfo
R
Rad2Deg(double)
- Static method in class roboplayer.geometry.
Angle
This function changes deg to rad
reconnect(String, int)
- Method in class roboplayer.core.body.
Body
Reconnect to the server
Rectangle
- class roboplayer.geometry.
Rectangle
.
Helper class for different rectangle functions.
Rectangle()
- Constructor for class roboplayer.geometry.
Rectangle
Empty constructor
Rectangle(double, double, double, double)
- Constructor for class roboplayer.geometry.
Rectangle
constructor
register(Node)
- Method in class roboplayer.fsm.
FSMParser
Register states and conditions
register(String, String)
- Method in class roboplayer.fsm.
StateFactory
Create state
register(String, String)
- Method in class roboplayer.fsm.
ConditionFactory
Register condtion
removeHearListener(HearListener)
- Method in class roboplayer.core.body.
Body
This function unregisters HearListener interface
removeParamsListener(ParamsListener)
- Method in class roboplayer.core.body.
Body
This function unregisters ParamsListener interface
removeSeeListener(SeeListener)
- Method in class roboplayer.core.body.
Body
This function unregisters SeeListener interface
removeTickListener(TickListener)
- Method in class roboplayer.core.body.
Body
This function unregisters TickListener interface
RoboCore
- class roboplayer.core.
RoboCore
.
In the next version all of the helper function will be moved to separated class.
RoboCore(InetAddress, int)
- Constructor for class roboplayer.core.
RoboCore
Standard constructor
roboplayer.core
- package roboplayer.core
roboplayer.core.body
- package roboplayer.core.body
roboplayer.core.memory
- package roboplayer.core.memory
roboplayer.debug
- package roboplayer.debug
roboplayer.fsm
- package roboplayer.fsm
roboplayer.fsm.condition
- package roboplayer.fsm.condition
roboplayer.fsm.state
- package roboplayer.fsm.state
roboplayer.geometry
- package roboplayer.geometry
This package contains various classes, which operates on Polar and cartesian coordinates.
roboplayer.player
- package roboplayer.player
roboplayer.sample
- package roboplayer.sample
RobotCommands
- interface roboplayer.core.body.
RobotCommands
.
This interface is used to send information to robot.
run()
- Method in class roboplayer.core.
RoboCore
Run robot
run()
- Method in class roboplayer.core.body.
Body
Main loop of the robot.
run()
- Method in class roboplayer.player.
Player
This is main loop for player
run()
- Method in class roboplayer.sample.
DummyPlayer
run()
- Method in class roboplayer.sample.
BallWatcher
S
say(String)
- Method in interface roboplayer.core.body.
RobotCommands
say(String)
- Method in class roboplayer.core.body.
Body
This function sends say command to the server
SeeListener
- interface roboplayer.core.body.
SeeListener
.
This interface is used to send visual information
setData(String, Object)
- Method in class roboplayer.core.memory.
TacticalInfo
Set data
setDebugMode(boolean)
- Method in class roboplayer.core.
RoboCore
Set debug mode
setHeadAngle(double)
- Method in class roboplayer.core.
RoboCore
Set head angle.
setPolarChange(Polar)
- Method in class roboplayer.core.memory.
ObjectInfo
Set position change in polar coords
setSpeed(Vector2d)
- Method in class roboplayer.core.memory.
ObjectInfo
Set speed vector
setVectorPos(Vector2d)
- Method in class roboplayer.core.memory.
ObjectInfo
Get position vector coords
ShootState
- class roboplayer.fsm.state.
ShootState
.
This state is used to shoot at goal
ShootState()
- Constructor for class roboplayer.fsm.state.
ShootState
showDebugPanel()
- Method in class roboplayer.player.
Player
Show debug frame
State
- class roboplayer.fsm.
State
.
This class represents state.
State()
- Constructor for class roboplayer.fsm.
State
StateFactory
- class roboplayer.fsm.
StateFactory
.
This class represents factory which can be used to create state.
StateFactory()
- Constructor for class roboplayer.fsm.
StateFactory
Constructor
stop()
- Method in class roboplayer.core.
RoboCore
Stop robot
T
TacticalInfo
- class roboplayer.core.memory.
TacticalInfo
.
This class keeps information about tactical information
TacticalInfo()
- Constructor for class roboplayer.core.memory.
TacticalInfo
Constructor
Team
- class roboplayer.player.
Team
.
This is a helper class to start several players within single VM.
Team()
- Constructor for class roboplayer.player.
Team
TickListener
- interface roboplayer.core.body.
TickListener
.
This interface is used to send tick message to modules which want to be synchronized by one central clock.
toString()
- Method in class roboplayer.core.memory.
ObjectInfo
debug info
toString()
- Method in class roboplayer.geometry.
Vector2d
Convert to string
toString()
- Method in class roboplayer.geometry.
Rectangle
Convert to string
toString()
- Method in class roboplayer.geometry.
Polar
Convert to string
Transition
- class roboplayer.fsm.
Transition
.
This class represents transition.
Transition(Condition, boolean, State)
- Constructor for class roboplayer.fsm.
Transition
Constructor
turn(double)
- Method in interface roboplayer.core.body.
RobotCommands
turn(double)
- Method in class roboplayer.core.body.
Body
This function sends turn command to the server
turnNeck(double)
- Method in interface roboplayer.core.body.
RobotCommands
turnNeck(double)
- Method in class roboplayer.core.body.
Body
This function sends turn head command to the server
U
updateSee()
- Method in interface roboplayer.core.body.
SeeListener
Because we can't receive see info in every cycle This function is send instead of on See to update see info.
updateSee()
- Method in class roboplayer.core.memory.
VisualInfo
This function updates state from old state.
updateSee()
- Method in class roboplayer.sample.
DummyPlayer
V
Vector2d
- class roboplayer.geometry.
Vector2d
.
Helper class for different vector functions.
Vector2d()
- Constructor for class roboplayer.geometry.
Vector2d
Empty constructor
Vector2d(double, double)
- Constructor for class roboplayer.geometry.
Vector2d
Constructor
Vector2d(Vector2d)
- Constructor for class roboplayer.geometry.
Vector2d
Copy constructor
VisualInfo
- class roboplayer.core.memory.
VisualInfo
.
This class represents visual memory.
VisualInfo(Body, Params, char, String)
- Constructor for class roboplayer.core.memory.
VisualInfo
VisualInfoParser
- class roboplayer.core.memory.
VisualInfoParser
.
Parser for visual information received from sensors
VisualInfoParser(String, double)
- Constructor for class roboplayer.core.memory.
VisualInfoParser
X
x
- Variable in class roboplayer.geometry.
Vector2d
Y
y
- Variable in class roboplayer.geometry.
Vector2d
A
B
C
D
E
F
G
H
I
K
M
N
O
P
R
S
T
U
V
X
Y
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes