#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 | setRobotPose (const RobotPose &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 | |
| void | setPlayerNumber (const Player::playerNumber p) |
| sets the player number | |
| void | setTimeStamp (const long &t) |
| sets the timestamp | |
| const double & | getValidity () const |
| returns the validity | |
| const Player::playerNumber & | getPlayerNumber () const |
| returns the playerRole | |
| const long & | getTimeStamp () const |
| return the timeStamp | |
| 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. | |
| 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. | |
| long | timeStamp |
| The last update of position. | |
| Player::playerNumber | playerNumber |
| Playernumber. | |
This is not for informations about the own robot.
Definition at line 22 of file PlayerPoseCollection.h.
|
|
Constructor.
Definition at line 26 of file PlayerPoseCollection.h. |
|
|
Copy-Constructor.
Definition at line 28 of file PlayerPoseCollection.h. |
|
|
Destructor.
Definition at line 30 of file PlayerPoseCollection.h. |
|
|
Definition at line 34 of file PlayerPoseCollection.h. Referenced by LogPlayer::saveSynchronized(). |
|
|
sets the pose
Definition at line 37 of file PlayerPoseCollection.h. Referenced by PlayerPoseCollection::setOpponentPlayerPose(), and PlayerPoseCollection::setOwnPlayerPose(). |
|
|
sets the pose
Definition at line 40 of file PlayerPoseCollection.h. References RobotPose::getPose(), RobotPose::getValidity(), and RobotPose::timestamp. Referenced by PlayerPoseCollection::setOwnPlayerPose(). |
Here is the call graph for this function:

|
||||||||||||||||
|
sets the pose
Definition at line 48 of file PlayerPoseCollection.h. References Pose2D::rotation, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. |
|
|
|
sets the speed
Definition at line 55 of file PlayerPoseCollection.h. Referenced by GTCamPlayersLocator::execute(). |
|
|
returns the speed
Definition at line 60 of file PlayerPoseCollection.h. |
|
|
sets the validity
Definition at line 63 of file PlayerPoseCollection.h. Referenced by PlayerPoseCollection::setOpponentPlayerPose(), and PlayerPoseCollection::setOwnPlayerPose(). |
|
|
sets the player number
Definition at line 66 of file PlayerPoseCollection.h. Referenced by GTCamPlayersLocator::execute(), and PlayerPoseCollection::setOwnPlayerPose(). |
|
|
sets the timestamp
Definition at line 69 of file PlayerPoseCollection.h. Referenced by PlayerPoseCollection::setOwnPlayerPose(). |
|
|
returns the validity
Definition at line 72 of file PlayerPoseCollection.h. Referenced by GTStandardConverter::setData(). |
|
|
returns the playerRole
Definition at line 75 of file PlayerPoseCollection.h. Referenced by PlayerPoseCollection::getOwnPlayerPoseByPlayerNumber(). |
|
|
return the timeStamp
Definition at line 78 of file PlayerPoseCollection.h. |
|
|
returns the player number as an Integer
Definition at line 81 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, timeStamp, and validity. |
|
|
sets the sigmaMin
Definition at line 87 of file PlayerPoseCollection.h. References sigmaMin. Referenced by GTCamPlayersLocator::execute(). |
|
|
returns the sigmaMin
Definition at line 90 of file PlayerPoseCollection.h. References sigmaMin. |
|
|
sets the sigmaMaj
Definition at line 93 of file PlayerPoseCollection.h. References sigmaMaj. Referenced by GTCamPlayersLocator::execute(). |
|
|
returns the sigmaMaj
Definition at line 96 of file PlayerPoseCollection.h. References sigmaMaj. |
|
|
sets the cosAngle
Definition at line 99 of file PlayerPoseCollection.h. References cosAngle. Referenced by GTCamPlayersLocator::execute(). |
|
|
returns the cosAngle
Definition at line 102 of file PlayerPoseCollection.h. References cosAngle. |
|
|
sets the sinAngle
Definition at line 105 of file PlayerPoseCollection.h. References sinAngle. Referenced by GTCamPlayersLocator::execute(). |
|
|
returns the sinAngle
Definition at line 108 of file PlayerPoseCollection.h. References sinAngle. |
|
|
The frame number of the image that was used to create the percept.
Definition at line 32 of file PlayerPoseCollection.h. |
|
|
The position and orientation of the player as a Pose2D.
Definition at line 112 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
|
The speed of the player.
Definition at line 115 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
|
The validity of the located robot.
Definition at line 118 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
|
The variance in Min-direction.
Definition at line 121 of file PlayerPoseCollection.h. Referenced by getSigmaMin(), operator=(), PlayerPose(), and setSigmaMin(). |
|
|
The variance in Maj-direction.
Definition at line 124 of file PlayerPoseCollection.h. Referenced by getSigmaMaj(), operator=(), PlayerPose(), and setSigmaMaj(). |
|
|
The cosinus of the angle of the variance-ellipse.
Definition at line 127 of file PlayerPoseCollection.h. Referenced by getCosAngle(), operator=(), and setCosAngle(). |
|
|
The sinus of the angle of the variance-ellipse.
Definition at line 130 of file PlayerPoseCollection.h. Referenced by getSinAngle(), operator=(), and setSinAngle(). |
|
|
The last update of position.
Definition at line 134 of file PlayerPoseCollection.h. Referenced by operator=(). |
|
|
Playernumber.
Definition at line 137 of file PlayerPoseCollection.h. Referenced by operator=(). |
1.3.6