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

NoOdometrySelfLocator Class Reference

Class for self-localization based on SingleLandmarks without odometry. More...

#include <NoOdometrySelfLocator.h>

Inheritance diagram for NoOdometrySelfLocator:

Inheritance graph
[legend]
Collaboration diagram for NoOdometrySelfLocator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NoOdometrySelfLocator (const SelfLocatorInterfaces &interfaces)
 Constructor.

 ~NoOdometrySelfLocator ()
 Destructor.

virtual void execute ()
 Executes the module.

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


Public Attributes

double speed
 movement per frame

int debugflags
 debugflags

int debugframes
int refGoalFramenr
int refGoalvalid
Goal referenceGoal
unsigned long int timeOfLastExecute

Detailed Description

Class for self-localization based on SingleLandmarks without odometry.

Definition at line 19 of file NoOdometrySelfLocator.h.


Constructor & Destructor Documentation

NoOdometrySelfLocator::NoOdometrySelfLocator const SelfLocatorInterfaces interfaces  ) 
 

Constructor.

Parameters:
interfaces The paramters of the SelfLocator module.

Definition at line 14 of file NoOdometrySelfLocator.cpp.

NoOdometrySelfLocator::~NoOdometrySelfLocator  )  [inline]
 

Destructor.

Definition at line 31 of file NoOdometrySelfLocator.h.


Member Function Documentation

void NoOdometrySelfLocator::execute  )  [virtual]
 

Executes the module.

Implements Module.

Definition at line 19 of file NoOdometrySelfLocator.cpp.

References LandmarksPercept::cameraOffset, Goal::color, debugflags, debugframes, Goal::distance, LandmarksPercept::frameNumber, getPlayer(), Player::getTeamColor(), LandmarksPercept::goals, idText, LandmarksPercept::numberOfGoals, OUTPUT, referenceGoal, refGoalFramenr, refGoalvalid, RobotPose::setFrameNumber(), RobotPose::setPose(), Pose2D::translation, Vector3< double >::x, Vector2< double >::x, Vector3< double >::y, Vector2< double >::y, and Vector3< double >::z.

Here is the call graph for this function:

bool NoOdometrySelfLocator::handleMessage InMessage  )  [virtual]
 

Called from a MessageQueue to distribute messages.

Reimplemented from Module.

Definition at line 121 of file NoOdometrySelfLocator.cpp.

References InMessage::bin, GenericDebugData::data, debugflags, debugframes, InMessage::getMessageID(), GenericDebugData::id, idGenericDebugData, idText, and OUTPUT.

Here is the call graph for this function:


Member Data Documentation

double NoOdometrySelfLocator::speed
 

movement per frame

Definition at line 37 of file NoOdometrySelfLocator.h.

int NoOdometrySelfLocator::debugflags
 

debugflags

Definition at line 40 of file NoOdometrySelfLocator.h.

Referenced by execute(), and handleMessage().

int NoOdometrySelfLocator::debugframes
 

Definition at line 41 of file NoOdometrySelfLocator.h.

Referenced by execute(), and handleMessage().

int NoOdometrySelfLocator::refGoalFramenr
 

Definition at line 48 of file NoOdometrySelfLocator.h.

Referenced by execute().

int NoOdometrySelfLocator::refGoalvalid
 

Definition at line 49 of file NoOdometrySelfLocator.h.

Referenced by execute().

Goal NoOdometrySelfLocator::referenceGoal
 

Definition at line 50 of file NoOdometrySelfLocator.h.

Referenced by execute().

unsigned long int NoOdometrySelfLocator::timeOfLastExecute
 

Definition at line 53 of file NoOdometrySelfLocator.h.


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