#include <RobotPose.h>
Inheritance diagram for RobotPose:


Public Member Functions | |
| RobotPose () | |
| Constructor. | |
| const RobotPose & | operator= (const RobotPose &other) |
| RobotPose (const Pose2D &otherPose) | |
| Cast Contructor. | |
| const RobotPose & | operator= (const Pose2D &other) |
| Assignment operator. | |
| void | setPose (const Pose2D &p) |
| The function sets the current pose. | |
| void | setValidity (const double v) |
| The function sets the validity of the current pose. | |
| void | setPositionVariance (const double v) |
| The function sets the validity of the current pose. | |
| void | setFrameNumber (unsigned long frameNumber) |
| The function sets the frame number of the current pose. | |
| void | setTimestamp (unsigned long timestamp) |
| The function sets the timestamp of the current pose. | |
| const Pose2D | getPose () const |
| The function returns the current pose. | |
| const double & | getValidity () const |
| The function returns the validity of the current pose. | |
| const double & | getPositionVariance () const |
| The function returns the variance of the current particle distribuiton of the robot pose. | |
| double | getPositionStandardDeviation () const |
| The function returns the standard deviation of the current particle distribuiton of the robot pose. | |
| void | calculateMovement (const Pose2D &movementPerSec, double time, RobotPose &result) const |
| The frame number when perceived. | |
Public Attributes | |
| double | validity |
| The validity of the robot pose. | |
| double | positionVariance |
| The variance of the particle distribution from which the pose was generated. | |
| Pose2D | greatestUncertainty |
| direction of greatest uncertainty from the (x,y) average of all particles | |
| bool | directionOfGreatestUncertaintyExists |
| if particle distribution is symmetrical, this is false, otherwise its set to true | |
| unsigned long | frameNumber |
| The time when the position is calculated. | |
| unsigned long | timestamp |
| Speed measured by perceived distance to goal. | |
| double | speedbyDistanceToGoal |
| The distance to the field border. | |
| double | distanceToBorder |
| The angle to the field border. | |
| double | angleToBorder |
Friends | |
| In & | operator>> (In &stream, RobotPose &robotPose) |
| Streaming operator that reads a robot pose from a stream. | |
| Out & | operator<< (Out &stream, const RobotPose &robotPose) |
| Streaming operator that writes a robot pose to a stream. | |
Definition at line 19 of file RobotPose.h.
|
|
Constructor.
Definition at line 31 of file RobotPose.h. References directionOfGreatestUncertaintyExists. |
|
|
Cast Contructor.
Definition at line 48 of file RobotPose.h. References directionOfGreatestUncertaintyExists, greatestUncertainty, Pose2D::Pose2D(), and positionVariance. |
Here is the call graph for this function:

|
|
Definition at line 33 of file RobotPose.h. References directionOfGreatestUncertaintyExists, frameNumber, greatestUncertainty, positionVariance, timestamp, and validity. |
|
|
Assignment operator.
Reimplemented from Pose2D. Definition at line 56 of file RobotPose.h. |
|
|
The function sets the current pose.
Definition at line 67 of file RobotPose.h. Referenced by SlamSelfLocator::calcPoseFromSubCube(), GT2005StableSelfLocator::calcPoseFromSubCube(), GT2005SelfLocator::calcPoseFromSubCube(), SlamSelfLocator::execute(), GT2005StableSelfLocator::execute(), GT2005SelfLocator::execute(), and GT2004SelfLocator::execute(). |
|
|
The function sets the validity of the current pose.
Definition at line 75 of file RobotPose.h. Referenced by SlamSelfLocator::calcPose(), GT2005StableSelfLocator::calcPose(), GT2005SelfLocator::calcPose(), SlamSelfLocator::calcPoseFromSubCube(), GT2005StableSelfLocator::calcPoseFromSubCube(), GT2005SelfLocator::calcPoseFromSubCube(), SlamSelfLocator::execute(), GTCamSelfLocator::execute(), GT2005StableSelfLocator::execute(), GT2005SelfLocator::execute(), GT2004SelfLocator::execute(), GTCamWorldState::getRobotPose(), GTCamSelfLocator::GTCamSelfLocator(), and operator>>(). |
|
|
The function sets the validity of the current pose.
Definition at line 81 of file RobotPose.h. References positionVariance. Referenced by GT2005SelfLocator::calcDistributionValidityByStandardDeviation(). |
|
|
The function sets the frame number of the current pose.
Definition at line 86 of file RobotPose.h. Referenced by SlamSelfLocator::execute(), GT2005StableSelfLocator::execute(), GT2005SelfLocator::execute(), GT2004SelfLocator::execute(), and LogPlayer::saveSynchronized(). |
|
|
The function sets the timestamp of the current pose.
Definition at line 91 of file RobotPose.h. Referenced by SlamSelfLocator::execute(), GT2005StableSelfLocator::execute(), GT2005SelfLocator::execute(), GT2004SelfLocator::execute(), and LogPlayer::saveSynchronized(). |
|
|
|
The function returns the validity of the current pose.
Definition at line 108 of file RobotPose.h. Referenced by GT2005SelfLocator::calcPose(), SlamSelfLocator::calcPoseFromSubCube(), GT2005StableSelfLocator::calcPoseFromSubCube(), GT2005SelfLocator::calcPoseFromSubCube(), GT2005TeamBallLocator::calcRepresentativeParticleContainer(), MotionRatingBehaviorControl::doLocalise(), MotionRatingBehaviorControl::execute(), operator<<(), GT2005BehaviorControl::postExecute(), CLogAnalyzerBase::readRemoteCamWorldState(), RobotPoseSymbols::registerSymbols(), LogPlayer::saveSynchronized(), GTStandardConverter::setData(), and PlayerPose::setRobotPose(). |
|
|
The function returns the variance of the current particle distribuiton of the robot pose.
Definition at line 114 of file RobotPose.h. References positionVariance. Referenced by RobotPoseSymbols::registerSymbols(), and GT2005HeadControl::showVisualizationQuality(). |
|
|
The function returns the standard deviation of the current particle distribuiton of the robot pose.
Definition at line 9 of file RobotPose.cpp. References positionVariance. Referenced by RobotPoseSymbols::calculateSpeedFactorFromRobotPositionStandardDeviation(), and RobotPoseSymbols::getPositionStandardDeviation(). |
|
||||||||||||||||
|
The frame number when perceived.
Definition at line 14 of file RobotPose.cpp. References Vector2< V >::abs(), Pose2D::rotation, Pose2D::translation, Vector2< V >::x, Vector2< double >::x, Vector2< V >::y, and Vector2< double >::y. Referenced by VLCImageProcessor::execute(). |
Here is the call graph for this function:

|
||||||||||||
|
Streaming operator that reads a robot pose from a stream.
Definition at line 38 of file RobotPose.cpp. |
|
||||||||||||
|
Streaming operator that writes a robot pose to a stream.
Definition at line 57 of file RobotPose.cpp. |
|
|
The validity of the robot pose.
Definition at line 22 of file RobotPose.h. Referenced by operator<<(), operator=(), and operator>>(). |
|
|
The variance of the particle distribution from which the pose was generated.
Definition at line 23 of file RobotPose.h. Referenced by getPositionStandardDeviation(), getPositionVariance(), operator=(), RobotPose(), and setPositionVariance(). |
|
|
direction of greatest uncertainty from the (x,y) average of all particles
Definition at line 24 of file RobotPose.h. Referenced by GT2005SelfLocator::calcDistributionValidityByStandardDeviation(), operator=(), and RobotPose(). |
|
|
if particle distribution is symmetrical, this is false, otherwise its set to true
Definition at line 25 of file RobotPose.h. Referenced by GT2005SelfLocator::calcDistributionValidityByStandardDeviation(), operator=(), and RobotPose(). |
|
|
The time when the position is calculated.
Definition at line 135 of file RobotPose.h. Referenced by GTCamSelfLocator::execute(), operator=(), and LogPlayer::saveCSV(). |
|
|
Speed measured by perceived distance to goal.
Definition at line 138 of file RobotPose.h. Referenced by GTCamSelfLocator::execute(), CLogAnalyzerBase::interpolate(), operator=(), CLogAnalyzerBase::readRemoteCamWorldState(), CLogAnalyzerBase::readWorldState(), LogPlayer::saveCSV(), LogPlayer::saveSynchronized(), and PlayerPose::setRobotPose(). |
|
|
The distance to the field border.
Definition at line 141 of file RobotPose.h. Referenced by GTCamSelfLocator::GTCamSelfLocator(). |
|
|
The angle to the field border.
Definition at line 144 of file RobotPose.h. |
|
|
Definition at line 145 of file RobotPose.h. Referenced by RobotPoseSymbols::getAngleToBorder(). |
1.3.6