DistanceToBorderEstimator Class Reference

#include <DistanceToBorderEstimator.h>

Inheritance diagram for DistanceToBorderEstimator:

SelfLocatorInterfaces List of all members.

Public Member Functions

 DistanceToBorderEstimator (const SelfLocatorInterfaces &interfaces)
virtual void execute ()

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< n >::add(), RobotPose::angleToBorder, LinesPercept::border, RobotPose::distanceToBorder, distanceToBorderBuffer, RingBufferWithSum< n >::getNumberOfEntries(), RingBufferWithSum< n >::getSum(), lastDistanceToBorder, SelfLocatorInterfaces::linesPercept, numberOfLinesPerceptsWithoutBorderPoints, LinesPercept::numberOfPoints, LinesPercept::points, and SelfLocatorInterfaces::robotPose.

Referenced by GT2004SelfLocator::execute().


Member Data Documentation

RingBufferWithSum<10> DistanceToBorderEstimator::distanceToBorderBuffer [private]

Definition at line 30 of file DistanceToBorderEstimator.h.

Referenced by execute().

int DistanceToBorderEstimator::lastDistanceToBorder [private]

Definition at line 32 of file DistanceToBorderEstimator.h.

Referenced by DistanceToBorderEstimator(), and execute().

int DistanceToBorderEstimator::numberOfLinesPerceptsWithoutBorderPoints [private]

Definition at line 31 of file DistanceToBorderEstimator.h.

Referenced by DistanceToBorderEstimator(), and execute().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:28:26 2006 for DT2005.panorama by  doxygen 1.4.7