|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--BallPerception
Programmname: RoboCup-Kamikaze-Client
Klasse: PlayerPerception
int
- und double
-Werte: 0 außer lastUpdate
: -1
WorldModel
Field Summary | |
boolean |
inSight
ist Ball sichtbar? |
boolean |
inVisibleDistance
ist Ball außerhalb des Blickfeld des Spielers, aber innerhalb visible_distance ? |
Constructor Summary | |
BallPerception()
|
Method Summary | |
double |
absX()
die absolute X-Koordinate |
double |
absY()
die absolute Y-Koordinate |
int |
direction()
absolute Richtung des Balls (vom Spieler aus gesehen) |
double |
distance()
Enfernung vom Spieler |
int |
lastUpdate()
Zeitpunkt der letzten Aktualisierung |
double[] |
predictPos(int cycles)
|
int |
relDirection()
relative Richtung des Balls (vom Spieler aus gesehen) |
double |
speed()
die akuelle Geschwindgkeit |
void |
update(ObjectPerception raw_Ball,
double[] playerPos,
int absPlayerAngle,
int time)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean inSight
public boolean inVisibleDistance
visible_distance
?
Constructor Detail |
public BallPerception()
Method Detail |
public double absX()
double
-Wert zwischen -52.5 - 52.5public double absY()
double
-Wert zwischen -34 - 34public double speed()
double
-Wertpublic int lastUpdate()
int
-Wertpublic int direction()
int
-Wertpublic double distance()
double
-Wertpublic int relDirection()
int
-Wertpublic void update(ObjectPerception raw_Ball, double[] playerPos, int absPlayerAngle, int time)
public double[] predictPos(int cycles)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |