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

DistanceToBorderEstimator Class Reference

The class implements a lines-based Monte Carlo self-localization. More...

#include <DistanceToBorderEstimator.h>

Inheritance diagram for DistanceToBorderEstimator:

Inheritance graph
[legend]
Collaboration diagram for DistanceToBorderEstimator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DistanceToBorderEstimator (const SelfLocatorInterfaces &interfaces)
 Constructor.

virtual void execute ()
 The function executes the module.


Private Attributes

RingBufferWithSum< 10 > distanceToBorderBuffer
int numberOfLinesPerceptsWithoutBorderPoints
int lastDistanceToBorder

Detailed Description

The class implements a lines-based Monte Carlo self-localization.

Definition at line 17 of file DistanceToBorderEstimator.h.


Constructor & Destructor Documentation

DistanceToBorderEstimator::DistanceToBorderEstimator const SelfLocatorInterfaces interfaces  ) 
 

Constructor.

Parameters:
interfaces The paramters of the SelfLocator module.

Definition at line 10 of file DistanceToBorderEstimator.cpp.

References lastDistanceToBorder, and numberOfLinesPerceptsWithoutBorderPoints.


Member Function Documentation

void DistanceToBorderEstimator::execute  )  [virtual]
 

The function executes the module.

Definition at line 17 of file DistanceToBorderEstimator.cpp.

References RingBufferWithSum< 10 >::add(), RobotPose::angleToBorder, RobotPose::distanceToBorder, distanceToBorderBuffer, RingBufferWithSum< 10 >::getNumberOfEntries(), RingBufferWithSum< 10 >::getSum(), lastDistanceToBorder, numberOfLinesPerceptsWithoutBorderPoints, LinesPercept::numberOfPoints, and LinesPercept::points.

Referenced by GT2004SelfLocator::execute().

Here is the call graph for this function:


Member Data Documentation

RingBufferWithSum<10> DistanceToBorderEstimator::distanceToBorderBuffer [private]
 

Definition at line 30 of file DistanceToBorderEstimator.h.

Referenced by execute().

int DistanceToBorderEstimator::numberOfLinesPerceptsWithoutBorderPoints [private]
 

Definition at line 31 of file DistanceToBorderEstimator.h.

Referenced by DistanceToBorderEstimator(), and execute().

int DistanceToBorderEstimator::lastDistanceToBorder [private]
 

Definition at line 32 of file DistanceToBorderEstimator.h.

Referenced by DistanceToBorderEstimator(), and execute().


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