public interface IThoughtModel
IGlobalMap
and IAgentModel
represent the measured
states based on sensor information, the IThoughtModel is mend to represent a
higher level of information abstraction. Furthermore, it is the central model
to store all information that comes from inside the agent and cannot be
measured.IGlobalMap
. The question which player is closest to the ball can
be calculated based on this information but represents a thought which is not
directly related to a sensor value. This "thought" (which player is closest
to the ball) can be integrated and buffered in the IThoughtModel, which
improves reusability of common calculations and therefore reduces runtime.Modifier and Type | Method and Description |
---|---|
IAgentModel |
getAgentModel()
Retrieve the agent model.
|
java.lang.String |
getCameraTilt() |
IPlayer |
getClosestOwnPlayerAtBall()
Get the player of the own team (including myself) which is closest to the
ball
|
IFlagModel |
getFlags()
Retrieve the flags.
|
java.util.List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D[]> |
getInfluencePolys()
Deprecated.
as it is used only by the Debugger tool.
|
float[][] |
getKickDirectionProfile() |
java.util.List<IVisibleObject> |
getObstacles() |
IPlayer |
getOpponentAtBall() |
java.util.List<IPlayer> |
getOpponentsAtBallList()
Get a list of all opponents, sorted by distance from the ball position
|
java.util.List<IPlayer> |
getOpponentsAtMeList()
Get a list of all opponents, sorted by distance from the own position
|
java.util.List<IPlayer> |
getPlayersAtBallList()
Get a list of all players, sorted by distance from the ball position
|
java.util.List<IPlayer> |
getPlayersAtMeList()
Get a list of all players, sorted by distance from the own position
|
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getPointToKickBall()
Get a list of points around ball in order of priority to kick to.
|
Angle |
getPreferredKickDirection() |
java.lang.String |
getRemoteCommand() |
IRole |
getRole() |
IRoleManager |
getRoleManager() |
IPlayer |
getTeammateAtBall()
Get the team-mate which is closest to the ball
|
java.util.List<IPlayer> |
getTeammatesAtBall()
Get a list of all team-mates, sorted by distance from the ball position
|
IGlobalMap |
getWorldModel()
Retrieve the world model.
|
boolean |
ownTeammateHasBall(double delta) |
boolean |
update(IPerception perception)
Update models based on new perception information.
|
IAgentModel getAgentModel()
IGlobalMap getWorldModel()
IFlagModel getFlags()
boolean update(IPerception perception)
perception
- The actual perception or null
if only the
internal state of the IThoughtModel should be refreshedorg.apache.commons.math3.geometry.euclidean.threed.Vector3D getPointToKickBall()
Angle getPreferredKickDirection()
float[][] getKickDirectionProfile()
@Deprecated java.util.List<org.apache.commons.math3.geometry.euclidean.threed.Vector3D[]> getInfluencePolys()
IRoleManager getRoleManager()
IRole getRole()
IPlayer getOpponentAtBall()
IPlayer getTeammateAtBall()
IPlayer getClosestOwnPlayerAtBall()
java.util.List<IPlayer> getPlayersAtMeList()
java.util.List<IPlayer> getOpponentsAtMeList()
java.util.List<IPlayer> getOpponentsAtBallList()
java.util.List<IPlayer> getTeammatesAtBall()
java.util.List<IPlayer> getPlayersAtBallList()
java.util.List<IVisibleObject> getObstacles()
boolean ownTeammateHasBall(double delta)
delta
- how much closer has the opponent to be than own playerjava.lang.String getRemoteCommand()
java.lang.String getCameraTilt()