#include <PlayerPoseCollection.h>
Collaboration diagram for PlayerPose:
Public Member Functions | |
PlayerPose () | |
Constructor. | |
PlayerPose (const PlayerPose &other) | |
Copy-Constructor. | |
~PlayerPose () | |
Destructor. | |
void | setFrameNumber (unsigned long frameNumber) |
void | setPose (const Pose2D &p) |
sets the pose | |
void | setPose (const double &x, const double &y, const double &rotation) |
sets the pose | |
const Pose2D & | getPose () const |
returns the pose | |
void | setSpeed (const double &_speed) |
sets the speed | |
const double & | getSpeed () const |
returns the speed | |
void | setValidity (const double &v) |
sets the validity | |
const double & | getValidity () const |
returns the validity | |
void | setPlayerNumber (const Player::playerNumber n) |
sets the playerNumber | |
const Player::playerNumber & | getPlayerNumber () const |
returns the playerRole | |
int | getPlayerNumberAsInt () const |
returns the player number as an Integer | |
void | operator= (const PlayerPose &other) |
copies another PlayerPose to this one | |
void | setSigmaMin (const double sigma) |
sets the sigmaMin | |
const double & | getSigmaMin () const |
returns the sigmaMin | |
void | setSigmaMaj (const double sigma) |
sets the sigmaMaj | |
const double & | getSigmaMaj () const |
returns the sigmaMaj | |
void | setCosAngle (const double cos) |
sets the cosAngle | |
const double & | getCosAngle () const |
returns the cosAngle | |
void | setSinAngle (const double sin) |
sets the sinAngle | |
const double & | getSinAngle () const |
returns the sinAngle | |
Public Attributes | |
unsigned long | frameNumber |
The frame number of the image that was used to create the percept. | |
Private Attributes | |
Pose2D | pose |
The position and orientation of the player as a Pose2D. | |
double | speed |
The speed of the player. | |
double | validity |
The validity of the located robot. | |
Player::playerNumber | playerNumber |
Playerrole. | |
double | sigmaMin |
The variance in Min-direction. | |
double | sigmaMaj |
The variance in Maj-direction. | |
double | cosAngle |
The cosinus of the angle of the variance-ellipse. | |
double | sinAngle |
The sinus of the angle of the variance-ellipse. |
This is not for informations about the own robot.
Definition at line 20 of file PlayerPoseCollection.h.
|
Constructor.
Definition at line 24 of file PlayerPoseCollection.h. |
|
Copy-Constructor.
Definition at line 26 of file PlayerPoseCollection.h. |
|
Destructor.
Definition at line 28 of file PlayerPoseCollection.h. |
|
Definition at line 32 of file PlayerPoseCollection.h. |
|
sets the pose
Definition at line 35 of file PlayerPoseCollection.h. Referenced by PlayerPoseCollection::setOpponentPlayerPose(), and PlayerPoseCollection::setOwnPlayerPose(). |
|
sets the pose
Definition at line 38 of file PlayerPoseCollection.h. References Pose2D::rotation, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. |
|
returns the pose
Definition at line 42 of file PlayerPoseCollection.h. Referenced by AngleSymbols::calculateCombinedAngles(), GT2004ObstaclesLocator::determineNextFreeTeammate(), GT2004PlayersLocator::execute(), GT2004StrategySymbols::getAngleToTeammate(), Field::placePlayers(), and GTStandardConverter::setData(). |
|
sets the speed
Definition at line 45 of file PlayerPoseCollection.h. |
|
returns the speed
Definition at line 50 of file PlayerPoseCollection.h. |
|
sets the validity
Definition at line 53 of file PlayerPoseCollection.h. Referenced by PlayerPoseCollection::setOpponentPlayerPose(), and PlayerPoseCollection::setOwnPlayerPose(). |
|
returns the validity
Definition at line 56 of file PlayerPoseCollection.h. Referenced by GT2004PlayersLocator::execute(), and GTStandardConverter::setData(). |
|
sets the playerNumber
Definition at line 59 of file PlayerPoseCollection.h. |
|
returns the playerRole
Definition at line 62 of file PlayerPoseCollection.h. |
|
returns the player number as an Integer
Definition at line 65 of file PlayerPoseCollection.h. |
|
copies another PlayerPose to this one
Definition at line 9 of file PlayerPoseCollection.cpp. References cosAngle, playerNumber, pose, sigmaMaj, sigmaMin, sinAngle, speed, and validity. |
|
sets the sigmaMin
Definition at line 71 of file PlayerPoseCollection.h. |
|
returns the sigmaMin
Definition at line 74 of file PlayerPoseCollection.h. |
|
sets the sigmaMaj
Definition at line 77 of file PlayerPoseCollection.h. |
|
returns the sigmaMaj
Definition at line 80 of file PlayerPoseCollection.h. |
|
sets the cosAngle
Definition at line 83 of file PlayerPoseCollection.h. References cosAngle. |
|
returns the cosAngle
Definition at line 86 of file PlayerPoseCollection.h. References cosAngle. |
|
sets the sinAngle
Definition at line 89 of file PlayerPoseCollection.h. References sinAngle. |
|
returns the sinAngle
Definition at line 92 of file PlayerPoseCollection.h. References sinAngle. |
|
The frame number of the image that was used to create the percept.
Definition at line 30 of file PlayerPoseCollection.h. |
|
The position and orientation of the player as a Pose2D.
Definition at line 96 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
The speed of the player.
Definition at line 99 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
The validity of the located robot.
Definition at line 102 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
Playerrole.
Definition at line 105 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
The variance in Min-direction.
Definition at line 108 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
The variance in Maj-direction.
Definition at line 111 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
The cosinus of the angle of the variance-ellipse.
Definition at line 114 of file PlayerPoseCollection.h. Referenced by getCosAngle(), operator=(), and setCosAngle(). |
|
The sinus of the angle of the variance-ellipse.
Definition at line 117 of file PlayerPoseCollection.h. Referenced by getSinAngle(), operator=(), and setSinAngle(). |