Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

GT2005StableSelfLocator Class Reference

#include <GT2005StableSelfLocator.h>

Inheritance diagram for GT2005StableSelfLocator:

Inheritance graph
[legend]
Collaboration diagram for GT2005StableSelfLocator:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  SAMPLES_MAX = 100, POSE_SPACE_GRID = 10, OBS_TABLE_X_FIELD_LINE = LinesPercept::field,
  OBS_TABLE_Y_FIELD_LINE = LinesPercept::numberOfLineTypes, HEAD_HEIGHT_SMOOTHING_FRAMENUMBER = 5, NUM_OF_CALCULATED_POSES = 3
}

Public Member Functions

 GT2005StableSelfLocator (const SelfLocatorInterfaces &interfaces)
 Constructor.

virtual void execute ()
 The function executes the module.

virtual bool handleMessage (InMessage &message)
 Called from a MessageQueue to distribute messages.


Public Attributes

SampleSet< GT2005StableSelfLocatorSample,
SAMPLES_MAX > 
sampleSet
 the sampleSet

bool teamColorBlue

Static Public Attributes

double quasiZero
double maximumTrust
double translationNoise
double rotationNoise
double movedDistWeight
double movedAngleWeight
double majorDirTransWeight
double minorDirTransWeight
double headHeight
double linePointZAngleVariance
double linePointZAngleMotionDependentVariance
double linePointYAngleVariance
double linePointYAngleMotionDependentVariance
double linePointZAngleMotionDependency
double linePointYAngleMotionDependency
double crossingZAngleVariance
double crossingZAngleMotionDependentVariance
double crossingYAngleVariance
double crossingYAngleMotionDependentVariance
double crossingZAngleMotionDependency
double crossingYAngleMotionDependency
double centerCircleZAngleVariance
double centerCircleZAngleMotionDependentVariance
double centerCircleYAngleVariance
double centerCircleYAngleMotionDependentVariance
double centerCircleOrientationAngleVariance
double centerCircleOrientationAngleMotionDependentVariance
double centerCircleZAngleMotionDependency
double centerCircleYAngleMotionDependency
double centerCircleOrientationAngleMotionDependency
double flagZAngleVariance
double flagZAngleMotionDependentVariance
double flagYAngleVariance
double flagYAngleMotionDependentVariance
double flagZAngleMotionDependency
double flagYAngleMotionDependency
double goalZAngleVariance
double goalZAngleMotionDependentVariance
double goalYAngleVariance
double goalYAngleMotionDependentVariance
double goalZAngleMotionDependency
double goalYAngleMotionDependency
double linePointWeight
double linePointZAngleTrust
double linePointYAngleTrust
double crossingWeight
double crossingZAngleTrust
double crossingYAngleTrust
double centerCircleWeight
double centerCircleZAngleTrust
double centerCircleYAngleTrust
double centerCircleOrientationAngleTrust
double flagWeight
double flagZAngleTrust
double flagYAngleTrust
double goalWeight
double goalZAngleTrust
double goalYAngleTrust

Private Types

enum  FlagSides { LEFT_SIDE_OF_FLAG = 1, RIGHT_SIDE_OF_FLAG = -1 }

Private Member Functions

double sigmoid (double d) const
 The function distributes the parameter in a Gaussian way.

void motionUpdate (const Pose2D &odometry, const Pose2D &camera, bool noise)
 The function updates the samples by the odometry offset.

void updateByNotSeenFlag (Flag::FlagType type)
void updateByNotSeenGoal (colorClass goalColor)
void updateByFlag (const Vector2< double > &flagFieldPosition, FlagSides sideOfFlag, double measuredBearing)
 The function updates the samples by a single edge of a flag recognized.

void updateByGoalPost (const Vector2< double > &goalPost, double measuredBearing)
 The function updates the samples by a single goal post recognized.

void landmarksObservationUpdate (const LandmarksPercept &landmarksPercept)
 The function updates the samples by the recognized landmarks (goal, flag..) triggers updateByFlag and updateByGoalPost.

GT2005StableLineCrossingsTable::CrossingClass getCrossingClassification (const LinesPercept::LineCrossingPoint &point)
 calculates the CrossingClass out of the classification (side1..side4) in the LinesPercept

void updateByCenterCircle (const LinesPercept::CenterCircle &centerCircle)
 observationUpdate by the center circle

void updateByCrossing (const LinesPercept::LineCrossingPoint &point)
 observationUpdate using the linecrossing percept

void updateByPoint (const LinesPercept::LinePoint &point, GT2005StableSelfLocatorSample::PerceptType type)
 does an observationupdate with a point on the field (line or goal)

void lineObservationUpdate (const LinesPercept &linesPercept)
 The function updates the samples by recognized lines.

double calcAveragePerceptTypeProbabilities ()
 Calculates the average possibility for each perceptType and all samples and returns the product over all averages.

void resample ()
 redistibution of the sampleSet according to the probabilities of the samples

double calcDistributionValidity ()
RobotPose calcPoseFromSubCube (Cell poseSpace[POSE_SPACE_GRID][POSE_SPACE_GRID][POSE_SPACE_GRID], int x, int y, int r)
 The function calculates a Pose by averaging the sample poses in a sub cube of the pose-room.

void calcPose (Pose2D &pose, double &validity)
 The function determines the most probable pose from the sample distribution.

void draw (const Pose2D &pose, Drawings::Color color) const
 The function draws an arrow to a debug drawing.

void draw (const Vector2< int > &point, LinesPercept::LineType type) const
 The function draws a point of a line percept.

void updateVariancesBySpeed (double speed)
 The function calculates the variances and trust values from the current speed.


Private Attributes

Pose2D lastOdometry
Pose2D lastOdometry2
 the last Odometry, used to calculate the delta_odometry

unsigned timeStamp
 timestap

bool observationUpdateDone
 a flag indicating if an observation update was done during the current run of execute

double speed
 current robot speed

double averagePerceptTypeProb [GT2005StableSelfLocatorSample::numberOfPerceptTypes]
 the average probability for each PerceptType and all Samples

GT2005StableSampleTemplateGenerator sampleTemplateGenerator
 this class encapsules template generation

LinesPercept::LineType types [LinesPercept::numberOfLineTypes]
 types and number of types are needed for the template generator

int numberOfTypes
GT2005StableLineCrossingsTable lineCrossingsTable
TRingBufferWithSum< double,
HEAD_HEIGHT_SMOOTHING_FRAMENUMBER > 
headHeightBuffer
bool odometryPoseResetted
Pose2D odometryPose
RobotPose candidates [NUM_OF_CALCULATED_POSES]
GT2005StableSelfLocatorSampletestSample
 testing and debugging stuff

Vector2< double > lastModelCrossing
Vector2< double > lastSeenCrossing
GT2005StableLineCrossingsTable::CrossingClass lastSeenCrossingClass
Pose2D lastSeenCenterCircle
Pose2D winningPose
Pose2D secondaryPose
double winningValidity
double secondaryValidity

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
SAMPLES_MAX  maximum number of samples
POSE_SPACE_GRID  quantization of the pose space
OBS_TABLE_X_FIELD_LINE  in the original 04 observation table LinesPercept::field is a x directed line and LinesPercept::numberOfLineTypes is a y directed line
OBS_TABLE_Y_FIELD_LINE 
HEAD_HEIGHT_SMOOTHING_FRAMENUMBER 
NUM_OF_CALCULATED_POSES 

Definition at line 111 of file GT2005StableSelfLocator.h.

enum GT2005StableSelfLocator::FlagSides [private]
 

Enumeration values:
LEFT_SIDE_OF_FLAG  flag indicating a position on the left side of a flag
RIGHT_SIDE_OF_FLAG  flag indicating a position on the right side of a flag

Definition at line 166 of file GT2005StableSelfLocator.h.


Constructor & Destructor Documentation

GT2005StableSelfLocator::GT2005StableSelfLocator const SelfLocatorInterfaces interfaces  ) 
 

Constructor.

Parameters:
interfaces The paramters of the SelfLocator module.

Definition at line 128 of file GT2005StableSelfLocator.cpp.

References crossingYAngleTrust, crossingZAngleTrust, flagYAngleTrust, flagZAngleTrust, goalYAngleTrust, goalZAngleTrust, idText, linePointYAngleTrust, linePointZAngleTrust, odometryPose, odometryPoseResetted, OUTPUT, Field::randomPose(), secondaryValidity, and winningValidity.

Here is the call graph for this function:


Member Function Documentation

void GT2005StableSelfLocator::execute  )  [virtual]
 

The function executes the module.

Reimplemented from Module.

Definition at line 828 of file GT2005StableSelfLocator.cpp.

References calcPose(), LandmarksPercept::cameraOffset, DEBUG_DRAWING_FINISHED, LandmarksPercept::frameNumber, GT2005StableSampleTemplateGenerator::generateTemplates(), SystemCall::getCurrentSystemTime(), getPlayer(), Player::getTeamColor(), SystemCall::getTimeSince(), CameraMatrix::isValid, landmarksObservationUpdate(), lineObservationUpdate(), SampleSet< GT2005StableSelfLocatorSample, SAMPLES_MAX >::link(), motionUpdate(), odometryPoseResetted, resample(), RobotPose::setFrameNumber(), RobotPose::setPose(), RobotPose::setTimestamp(), RobotPose::setValidity(), LandmarksState::update(), Vector3< double >::x, and Vector3< double >::y.

Here is the call graph for this function:

bool GT2005StableSelfLocator::handleMessage InMessage message  )  [virtual]
 

Called from a MessageQueue to distribute messages.

Use message.getMessageID to decide if the message is relavant for the MesssageHandler derivate. Use message.bin, message.text or message.config as In streams to get the data from.

Parameters:
message The message that can be read.
Returns:
true if the message was read (handled).

Reimplemented from Module.

Definition at line 1266 of file GT2005StableSelfLocator.cpp.

double GT2005StableSelfLocator::sigmoid double  d  )  const [inline, private]
 

The function distributes the parameter in a Gaussian way.

Parameters:
d A value that should be distributed.
Returns:
A transformation of d according to a Gaussian curve.

Definition at line 212 of file GT2005StableSelfLocator.h.

Referenced by calcDistributionValidity(), updateByCenterCircle(), updateByCrossing(), updateByFlag(), updateByGoalPost(), and updateByPoint().

void GT2005StableSelfLocator::motionUpdate const Pose2D odometry,
const Pose2D camera,
bool  noise
[private]
 

The function updates the samples by the odometry offset.

Parameters:
odometry The motion since the last call to this function.
camera The camera offset.
noise Dermines whether some additional noise is added to the sample poses.
enhance maybe by replacing bool noise by a noisefunction?

Definition at line 171 of file GT2005StableSelfLocator.cpp.

References Vector2< double >::abs(), GT2005StableSelfLocatorSample::camera, fmax(), Pose2D::getAngle(), majorDirTransWeight, max, minorDirTransWeight, movedAngleWeight, movedDistWeight, PoseSample::probability, random(), rotationNoise, Pose2D::translation, translationNoise, Vector2< double >::x, and Vector2< double >::y.

Referenced by execute().

Here is the call graph for this function:

void GT2005StableSelfLocator::updateByNotSeenFlag Flag::FlagType  type  )  [private]
 

Definition at line 616 of file GT2005StableSelfLocator.cpp.

void GT2005StableSelfLocator::updateByNotSeenGoal colorClass  goalColor  )  [private]
 

void GT2005StableSelfLocator::updateByFlag const Vector2< double > &  flagFieldPosition,
FlagSides  sideOfFlag,
double  measuredBearing
[private]
 

The function updates the samples by a single edge of a flag recognized.

Parameters:
flagFieldPosition The position of the flag.
sideOfFlag The side of the flag that was seen.
measuredBearing The bearing, under which the edge was seen.

Definition at line 698 of file GT2005StableSelfLocator.cpp.

References Vector2< double >::abs(), GT2005StableSelfLocatorSample::camera, COMPLEX_DRAWING, draw(), flagYAngleTrust, pi, GT2005StableSelfLocatorSample::setPerceptProbability(), sigmoid(), Pose2D::translation, Vector2< double >::x, Vector2< V >::x, Vector2< double >::y, and Vector2< V >::y.

Referenced by landmarksObservationUpdate().

Here is the call graph for this function:

void GT2005StableSelfLocator::updateByGoalPost const Vector2< double > &  goalPost,
double  measuredBearing
[private]
 

The function updates the samples by a single goal post recognized.

Parameters:
goalPost The position of the goal post.
measuredBearing The bearing, under which the goal post was seen.

Definition at line 738 of file GT2005StableSelfLocator.cpp.

References GT2005StableSelfLocatorSample::camera, goalYAngleTrust, pi, GT2005StableSelfLocatorSample::setPerceptProbability(), sigmoid(), Pose2D::translation, Vector2< double >::x, Vector2< V >::x, Vector2< double >::y, and Vector2< V >::y.

Referenced by landmarksObservationUpdate().

Here is the call graph for this function:

void GT2005StableSelfLocator::landmarksObservationUpdate const LandmarksPercept landmarksPercept  )  [private]
 

The function updates the samples by the recognized landmarks (goal, flag..) triggers updateByFlag and updateByGoalPost.

Parameters:
landmarksPercept The landmarksPercept

Definition at line 764 of file GT2005StableSelfLocator.cpp.

References Goal::color, LandmarksPercept::flags, LandmarksPercept::goals, ConditionalBoundary::isOnBorder(), Goal::leftPost, Range< double >::max, Range< double >::min, LandmarksPercept::numberOfFlags, LandmarksPercept::numberOfGoals, Flag::position, Goal::rightPost, updateByFlag(), updateByGoalPost(), and Boundary< double >::x.

Referenced by execute().

Here is the call graph for this function:

GT2005StableLineCrossingsTable::CrossingClass GT2005StableSelfLocator::getCrossingClassification const LinesPercept::LineCrossingPoint point  )  [private]
 

calculates the CrossingClass out of the classification (side1..side4) in the LinesPercept

Definition at line 224 of file GT2005StableSelfLocator.cpp.

References point.

Referenced by updateByCrossing().

void GT2005StableSelfLocator::updateByCenterCircle const LinesPercept::CenterCircle centerCircle  )  [private]
 

observationUpdate by the center circle

Definition at line 258 of file GT2005StableSelfLocator.cpp.

References Vector2< V >::abs(), Vector2< int >::abs(), centerCircleOrientationAngleTrust, centerCircleYAngleTrust, centerCircleZAngleTrust, fromDegrees(), headHeight, LinesPercept::CenterCircle::location, LinesPercept::CenterCircle::orientation, LinesPercept::CenterCircle::orientationKnown, point, Pose2D::rotation, GT2005StableSelfLocatorSample::setPerceptProbability(), sigmoid(), Vector2< V >::x, Vector2< int >::x, Vector2< V >::y, and Vector2< int >::y.

Here is the call graph for this function:

void GT2005StableSelfLocator::updateByCrossing const LinesPercept::LineCrossingPoint point  )  [private]
 

observationUpdate using the linecrossing percept

Parameters:
relative position of the linecrossing

Definition at line 312 of file GT2005StableSelfLocator.cpp.

References Vector2< V >::abs(), Vector2< int >::abs(), CIRCLE, crossingYAngleTrust, crossingZAngleTrust, GT2005StableLineCrossingsTable::getClassifiedClosestPoint(), getCrossingClassification(), headHeight, LinesPercept::LineCrossingPoint::locationOnField, point, GT2005StableSelfLocatorSample::setPerceptProbability(), sigmoid(), Pose2D::translation, Vector2< V >::x, Vector2< double >::x, Vector2< int >::x, Vector2< V >::y, Vector2< double >::y, and Vector2< int >::y.

Referenced by lineObservationUpdate().

Here is the call graph for this function:

void GT2005StableSelfLocator::updateByPoint const LinesPercept::LinePoint point,
GT2005StableSelfLocatorSample::PerceptType  type
[private]
 

does an observationupdate with a point on the field (line or goal)

Parameters:
point a point on a line
type the type of the line

Definition at line 383 of file GT2005StableSelfLocator.cpp.

References Vector2< V >::abs(), Vector2< int >::abs(), Vector2< int >::angle(), Pose2D::getAngle(), headHeight, idText, linePointYAngleTrust, linePointZAngleTrust, OUTPUT, pi, point, GT2005StableSelfLocatorSample::setPerceptProbability(), sigmoid(), Pose2D::translation, Vector2< V >::x, Vector2< int >::x, Vector2< V >::y, and Vector2< int >::y.

Referenced by lineObservationUpdate().

Here is the call graph for this function:

void GT2005StableSelfLocator::lineObservationUpdate const LinesPercept linesPercept  )  [private]
 

The function updates the samples by recognized lines.

Parameters:
linesPercept The LinesPercept

Definition at line 480 of file GT2005StableSelfLocator.cpp.

References CIRCLE, COMPLEX_DRAWING, draw(), e, LINE, LinesPercept::lineCrossings, LinesPercept::numberOfLineCrossings, LinesPercept::points, random(), Pose2D::translation, updateByCrossing(), updateByPoint(), Vector2< double >::x, and Vector2< double >::y.

Referenced by execute().

Here is the call graph for this function:

double GT2005StableSelfLocator::calcAveragePerceptTypeProbabilities  )  [private]
 

Calculates the average possibility for each perceptType and all samples and returns the product over all averages.

contains the part of the gt04 resampling method that calculates

Returns:
product over all average percepttype-probabilities

Definition at line 906 of file GT2005StableSelfLocator.cpp.

References GT2005StableSelfLocatorSample::perceptProbabilities.

Referenced by resample().

void GT2005StableSelfLocator::resample  )  [private]
 

redistibution of the sampleSet according to the probabilities of the samples

TODO: template generation

Definition at line 946 of file GT2005StableSelfLocator.cpp.

References calcAveragePerceptTypeProbabilities(), COMPLEX_DRAWING, draw(), GT2005StableSampleTemplateGenerator::getNumberOfTemplates(), GT2005StableSelfLocatorSample::getProbability(), GT2005StableSampleTemplateGenerator::getTemplate(), random(), and SampleSet< GT2005StableSelfLocatorSample, SAMPLES_MAX >::swap().

Referenced by execute().

Here is the call graph for this function:

double GT2005StableSelfLocator::calcDistributionValidity  )  [private]
 

Definition at line 1019 of file GT2005StableSelfLocator.cpp.

References pi, Pose2D::rotation, sigmoid(), Pose2D::translation, Vector2< double >::x, and Vector2< double >::y.

Referenced by calcPose().

Here is the call graph for this function:

RobotPose GT2005StableSelfLocator::calcPoseFromSubCube Cell  poseSpace[POSE_SPACE_GRID][POSE_SPACE_GRID][POSE_SPACE_GRID],
int  x,
int  y,
int  r
[private]
 

The function calculates a Pose by averaging the sample poses in a sub cube of the pose-room.

Definition at line 1061 of file GT2005StableSelfLocator.cpp.

References Field::clip(), Pose2D::getCos(), GT2005StableSelfLocatorSample::getProbability(), Pose2D::getSin(), RobotPose::getValidity(), GT2005StableSelfLocatorSample::isValid(), GT2005StableSelfLocatorSample::next, RobotPose::setPose(), RobotPose::setValidity(), Pose2D::translation, Vector2< double >::x, and Vector2< double >::y.

Referenced by calcPose().

Here is the call graph for this function:

void GT2005StableSelfLocator::calcPose Pose2D pose,
double &  validity
[private]
 

The function determines the most probable pose from the sample distribution.

Parameters:
pose The pose is returned to this variable.
validity The validity of the pose is returned to this variable.

Definition at line 1125 of file GT2005StableSelfLocator.cpp.

References calcDistributionValidity(), calcPoseFromSubCube(), CIRCLE, GT2005StableSelfLocator::Cell::count, GT2005StableSelfLocator::Cell::first, Pose2D::getAngle(), RobotPose::getPose(), Range< double >::getSize(), GT2005StableSelfLocatorSample::isValid(), GT2005StableSelfLocatorSample::next, RobotPoseCollection::numberOfPoses, pi2, RobotPoseCollection::poses, RobotPose::setValidity(), Pose2D::translation, Vector2< double >::x, Boundary< double >::x, Vector2< double >::y, and Boundary< double >::y.

Referenced by execute().

Here is the call graph for this function:

void GT2005StableSelfLocator::draw const Pose2D pose,
Drawings::Color  color
const [private]
 

The function draws an arrow to a debug drawing.

Parameters:
pose The position and direction of the arrow.
color The color of the arrow.

Definition at line 1293 of file GT2005StableSelfLocator.cpp.

References LINE, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y.

Referenced by lineObservationUpdate(), resample(), and updateByFlag().

void GT2005StableSelfLocator::draw const Vector2< int > &  point,
LinesPercept::LineType  type
const [private]
 

The function draws a point of a line percept.

Parameters:
point The relative position in field coordinates.
type The line type of the point.

Definition at line 1325 of file GT2005StableSelfLocator.cpp.

References Geometry::calculatePointInImage(), CIRCLE, getRobotConfiguration(), point, Vector2< V >::x, and Vector2< V >::y.

Here is the call graph for this function:

void GT2005StableSelfLocator::updateVariancesBySpeed double  speed  )  [private]
 

The function calculates the variances and trust values from the current speed.

Definition at line 822 of file GT2005StableSelfLocator.cpp.

References linePointWeight, linePointZAngleMotionDependency, linePointZAngleMotionDependentVariance, linePointZAngleTrust, linePointZAngleVariance, and quasiZero.


Member Data Documentation

double GT2005StableSelfLocator::quasiZero [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by updateVariancesBySpeed().

double GT2005StableSelfLocator::maximumTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::translationNoise [static]
 

Definition at line 29 of file GT2005StableSelfLocator.cpp.

Referenced by motionUpdate().

double GT2005StableSelfLocator::rotationNoise [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by motionUpdate().

double GT2005StableSelfLocator::movedDistWeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by motionUpdate().

double GT2005StableSelfLocator::movedAngleWeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by motionUpdate().

double GT2005StableSelfLocator::majorDirTransWeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by motionUpdate().

double GT2005StableSelfLocator::minorDirTransWeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by motionUpdate().

double GT2005StableSelfLocator::headHeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by updateByCenterCircle(), updateByCrossing(), and updateByPoint().

double GT2005StableSelfLocator::linePointZAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by updateVariancesBySpeed().

double GT2005StableSelfLocator::linePointZAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by updateVariancesBySpeed().

double GT2005StableSelfLocator::linePointYAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::linePointYAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::linePointZAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by updateVariancesBySpeed().

double GT2005StableSelfLocator::linePointYAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::crossingZAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::crossingZAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::crossingYAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::crossingYAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::crossingZAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::crossingYAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleZAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleZAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleYAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleYAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleOrientationAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleOrientationAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleZAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleYAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleOrientationAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::flagZAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::flagZAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::flagYAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::flagYAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::flagZAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::flagYAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::goalZAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::goalZAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::goalYAngleVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::goalYAngleMotionDependentVariance [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::goalZAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::goalYAngleMotionDependency [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::linePointWeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by updateVariancesBySpeed().

double GT2005StableSelfLocator::linePointZAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator(), updateByPoint(), and updateVariancesBySpeed().

double GT2005StableSelfLocator::linePointYAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator(), and updateByPoint().

double GT2005StableSelfLocator::crossingWeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::crossingZAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator(), and updateByCrossing().

double GT2005StableSelfLocator::crossingYAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator(), and updateByCrossing().

double GT2005StableSelfLocator::centerCircleWeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::centerCircleZAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by updateByCenterCircle().

double GT2005StableSelfLocator::centerCircleYAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by updateByCenterCircle().

double GT2005StableSelfLocator::centerCircleOrientationAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by updateByCenterCircle().

double GT2005StableSelfLocator::flagWeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::flagZAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator().

double GT2005StableSelfLocator::flagYAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator(), and updateByFlag().

double GT2005StableSelfLocator::goalWeight [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::goalZAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator().

double GT2005StableSelfLocator::goalYAngleTrust [static]
 

Definition at line 37 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator(), and updateByGoalPost().

SampleSet<GT2005StableSelfLocatorSample, SAMPLES_MAX> GT2005StableSelfLocator::sampleSet
 

the sampleSet

Definition at line 125 of file GT2005StableSelfLocator.h.

bool GT2005StableSelfLocator::teamColorBlue
 

Definition at line 126 of file GT2005StableSelfLocator.h.

Pose2D GT2005StableSelfLocator::lastOdometry [private]
 

Definition at line 171 of file GT2005StableSelfLocator.h.

Pose2D GT2005StableSelfLocator::lastOdometry2 [private]
 

the last Odometry, used to calculate the delta_odometry

Definition at line 171 of file GT2005StableSelfLocator.h.

unsigned GT2005StableSelfLocator::timeStamp [private]
 

timestap

Definition at line 172 of file GT2005StableSelfLocator.h.

bool GT2005StableSelfLocator::observationUpdateDone [private]
 

a flag indicating if an observation update was done during the current run of execute

Definition at line 173 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::speed [private]
 

current robot speed

Definition at line 174 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::averagePerceptTypeProb[GT2005StableSelfLocatorSample::numberOfPerceptTypes] [private]
 

the average probability for each PerceptType and all Samples

Definition at line 176 of file GT2005StableSelfLocator.h.

GT2005StableSampleTemplateGenerator GT2005StableSelfLocator::sampleTemplateGenerator [private]
 

this class encapsules template generation

Definition at line 178 of file GT2005StableSelfLocator.h.

LinesPercept::LineType GT2005StableSelfLocator::types[LinesPercept::numberOfLineTypes] [private]
 

types and number of types are needed for the template generator

Definition at line 179 of file GT2005StableSelfLocator.h.

int GT2005StableSelfLocator::numberOfTypes [private]
 

Definition at line 180 of file GT2005StableSelfLocator.h.

GT2005StableLineCrossingsTable GT2005StableSelfLocator::lineCrossingsTable [private]
 

Definition at line 182 of file GT2005StableSelfLocator.h.

TRingBufferWithSum<double,HEAD_HEIGHT_SMOOTHING_FRAMENUMBER> GT2005StableSelfLocator::headHeightBuffer [private]
 

Definition at line 184 of file GT2005StableSelfLocator.h.

bool GT2005StableSelfLocator::odometryPoseResetted [private]
 

Definition at line 186 of file GT2005StableSelfLocator.h.

Referenced by execute(), and GT2005StableSelfLocator().

Pose2D GT2005StableSelfLocator::odometryPose [private]
 

Definition at line 187 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator().

RobotPose GT2005StableSelfLocator::candidates[NUM_OF_CALCULATED_POSES] [private]
 

Definition at line 188 of file GT2005StableSelfLocator.h.

GT2005StableSelfLocatorSample* GT2005StableSelfLocator::testSample [private]
 

testing and debugging stuff

Definition at line 192 of file GT2005StableSelfLocator.h.

Vector2<double> GT2005StableSelfLocator::lastModelCrossing [private]
 

Definition at line 193 of file GT2005StableSelfLocator.h.

Vector2<double> GT2005StableSelfLocator::lastSeenCrossing [private]
 

Definition at line 193 of file GT2005StableSelfLocator.h.

GT2005StableLineCrossingsTable::CrossingClass GT2005StableSelfLocator::lastSeenCrossingClass [private]
 

Definition at line 194 of file GT2005StableSelfLocator.h.

Pose2D GT2005StableSelfLocator::lastSeenCenterCircle [private]
 

Definition at line 195 of file GT2005StableSelfLocator.h.

Pose2D GT2005StableSelfLocator::winningPose [private]
 

Definition at line 198 of file GT2005StableSelfLocator.h.

Pose2D GT2005StableSelfLocator::secondaryPose [private]
 

Definition at line 199 of file GT2005StableSelfLocator.h.

double GT2005StableSelfLocator::winningValidity [private]
 

Definition at line 200 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator().

double GT2005StableSelfLocator::secondaryValidity [private]
 

Definition at line 200 of file GT2005StableSelfLocator.h.

Referenced by GT2005StableSelfLocator().


The documentation for this class was generated from the following files:
Generated on Mon Mar 20 22:15:27 2006 for GT2005 by doxygen 1.3.6