#include <DistanceToBorderEstimator.h>
Inheritance diagram for DistanceToBorderEstimator:
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 |
Definition at line 17 of file DistanceToBorderEstimator.h.
|
Constructor.
Definition at line 10 of file DistanceToBorderEstimator.cpp. References lastDistanceToBorder, and numberOfLinesPerceptsWithoutBorderPoints. |
|
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:
|
Definition at line 30 of file DistanceToBorderEstimator.h. Referenced by execute(). |
|
Definition at line 31 of file DistanceToBorderEstimator.h. Referenced by DistanceToBorderEstimator(), and execute(). |
|
Definition at line 32 of file DistanceToBorderEstimator.h. Referenced by DistanceToBorderEstimator(), and execute(). |