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

SpecialPerceptSelfLocator Class Reference

Class for self-localization based on special percepts, e.g. More...

#include <SpecialPerceptSelfLocator.h>

Inheritance diagram for SpecialPerceptSelfLocator:

Inheritance graph
[legend]
Collaboration diagram for SpecialPerceptSelfLocator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SpecialPerceptSelfLocator (const SelfLocatorInterfaces &interfaces)
 Constructor.

 ~SpecialPerceptSelfLocator ()
 Destructor.

virtual void execute ()
 Executes the module.


Private Attributes

Pose2D lastRobotPose
int psdCrashCount
Pose2D lastOdometry
PIDsmoothedValue robotPosX
PIDsmoothedValue robotPosY
PIDsmoothedValue robotPosR
unsigned long lastFrame
bool lastWasOutlier

Detailed Description

Class for self-localization based on special percepts, e.g.

checkerboard percepts (see ImageProcessor/checkerboardDetector.* for details)

Definition at line 25 of file SpecialPerceptSelfLocator.h.


Constructor & Destructor Documentation

SpecialPerceptSelfLocator::SpecialPerceptSelfLocator const SelfLocatorInterfaces interfaces  ) 
 

Constructor.

Parameters:
interfaces The paramters of the SelfLocator module.

Definition at line 16 of file SpecialPerceptSelfLocator.cpp.

References pi.

SpecialPerceptSelfLocator::~SpecialPerceptSelfLocator  )  [inline]
 

Destructor.

Definition at line 37 of file SpecialPerceptSelfLocator.h.


Member Function Documentation

void SpecialPerceptSelfLocator::execute  )  [virtual]
 

Executes the module.

Implements Module.

Definition at line 47 of file SpecialPerceptSelfLocator.cpp.

References PIDsmoothedValue::approximateVal(), SpecialPercept::checkerPose, SpecialPercept::frameNumber, PIDsmoothedValue::getVal(), lastFrame, lastWasOutlier, SampleSetProxyBase::link(), PSDPercept::numOfPercepts, psdCrashCount, PIDsmoothedValue::resetTo(), robotPosR, robotPosX, robotPosY, Pose2D::rotation, RobotPose::setFrameNumber(), RobotPose::setValidity(), RobotPose::speedbyDistanceToGoal, Pose2D::translation, SpecialPercept::type, Vector2< double >::x, and Vector2< double >::y.

Here is the call graph for this function:


Member Data Documentation

Pose2D SpecialPerceptSelfLocator::lastRobotPose [private]
 

Definition at line 43 of file SpecialPerceptSelfLocator.h.

int SpecialPerceptSelfLocator::psdCrashCount [private]
 

Definition at line 44 of file SpecialPerceptSelfLocator.h.

Referenced by execute().

Pose2D SpecialPerceptSelfLocator::lastOdometry [private]
 

Definition at line 45 of file SpecialPerceptSelfLocator.h.

PIDsmoothedValue SpecialPerceptSelfLocator::robotPosX [private]
 

Definition at line 75 of file SpecialPerceptSelfLocator.h.

Referenced by execute().

PIDsmoothedValue SpecialPerceptSelfLocator::robotPosY [private]
 

Definition at line 75 of file SpecialPerceptSelfLocator.h.

Referenced by execute().

PIDsmoothedValue SpecialPerceptSelfLocator::robotPosR [private]
 

Definition at line 75 of file SpecialPerceptSelfLocator.h.

Referenced by execute().

unsigned long SpecialPerceptSelfLocator::lastFrame [private]
 

Definition at line 76 of file SpecialPerceptSelfLocator.h.

Referenced by execute().

bool SpecialPerceptSelfLocator::lastWasOutlier [private]
 

Definition at line 77 of file SpecialPerceptSelfLocator.h.

Referenced by execute().


The documentation for this class was generated from the following files:
Generated on Thu Sep 23 20:11:54 2004 for GT2004 by doxygen 1.3.6