#include <GT2005SelfLocatorSample.h>
Inheritance diagram for GT2005SelfLocatorSample:


Public Types | |
| enum | { UNINITIALIZED_PROBABILITY = 2 } |
| enum | PerceptType { xFieldLine, yFieldLine, border, flag, goal, lineCrossing, numberOfPerceptTypes } |
Public Member Functions | |
| GT2005SelfLocatorSample () | |
| Constructor. | |
| GT2005SelfLocatorSample (const Pose2D &pose) | |
| Constructor. | |
| double | getProbability () const |
| void | reset () |
| void | updateProbability (const double *average, const GT2005SelfLocatorParameters ¶meters) |
| void | setPerceptProbability (GT2005SelfLocatorSample::PerceptType type, double value, const GT2005SelfLocatorParameters ¶meters) |
| sets the probability for a percept. | |
| bool | isValid () const |
| void | scaleProbabilities (double factor) |
Public Attributes | |
| Pose2D | camera |
| Temporary representing the pose of the camera. | |
| double | perceptProbabilities [numberOfPerceptTypes] |
| a probability for each percept-type recognized | |
| long | perceptTimestamps [numberOfPerceptTypes] |
| GT2005SelfLocatorSample * | next |
| The next sample in the cell cube. | |
| bool | isUsingOdometry |
| Whether this sample receives odometry updates or not. | |
Definition at line 27 of file GT2005SelfLocatorSample.h.
|
|
Definition at line 31 of file GT2005SelfLocatorSample.h. |
|
|
Definition at line 37 of file GT2005SelfLocatorSample.h. |
|
|
Constructor.
Definition at line 13 of file GT2005SelfLocatorSample.cpp. References reset(). |
Here is the call graph for this function:

|
|
Constructor.
Definition at line 18 of file GT2005SelfLocatorSample.cpp. References reset(). |
Here is the call graph for this function:

|
|
Definition at line 65 of file GT2005SelfLocatorSample.h. Referenced by GT2005SelfLocator::calcPoseFromSubCube(), and GT2005SelfLocator::resample(). |
|
|
Definition at line 24 of file GT2005SelfLocatorSample.cpp. References SystemCall::getCurrentSystemTime(), isUsingOdometry, numberOfPerceptTypes, perceptProbabilities, perceptTimestamps, and UNINITIALIZED_PROBABILITY. Referenced by GT2005SelfLocatorSample(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 41 of file GT2005SelfLocatorSample.cpp. References max, numberOfPerceptTypes, and perceptProbabilities. |
|
||||||||||||||||
|
sets the probability for a percept. replaces setProbability in GT04SL limits change of probability to +paramProbUpLimit and -paramProbDownLimit differs from gt code by strange part dependent on goal type
Definition at line 68 of file GT2005SelfLocatorSample.cpp. References flag, SystemCall::getCurrentSystemTime(), numberOfPerceptTypes, perceptProbabilities, and perceptTimestamps. Referenced by GT2005SelfLocator::updateByCenterCircle(), GT2005SelfLocator::updateByCrossing(), GT2005SelfLocator::updateByFlag(), GT2005SelfLocator::updateByGoalPost(), and GT2005SelfLocator::updateByPoint(). |
Here is the call graph for this function:

|
|
Definition at line 85 of file GT2005SelfLocatorSample.h. Referenced by GT2005SelfLocator::calcPose(), and GT2005SelfLocator::calcPoseFromSubCube(). |
|
|
Definition at line 110 of file GT2005SelfLocatorSample.cpp. References numberOfPerceptTypes, perceptProbabilities, and UNINITIALIZED_PROBABILITY. |
|
|
Temporary representing the pose of the camera.
Definition at line 48 of file GT2005SelfLocatorSample.h. Referenced by GT2005SelfLocator::motionUpdate(), GT2005SelfLocator::updateByFlag(), and GT2005SelfLocator::updateByGoalPost(). |
|
|
a probability for each percept-type recognized
Definition at line 49 of file GT2005SelfLocatorSample.h. Referenced by GT2005SelfLocator::calcAveragePerceptTypeProbabilities(), reset(), scaleProbabilities(), setPerceptProbability(), and updateProbability(). |
|
|
Definition at line 50 of file GT2005SelfLocatorSample.h. Referenced by reset(), and setPerceptProbability(). |
|
|
The next sample in the cell cube.
Definition at line 51 of file GT2005SelfLocatorSample.h. Referenced by GT2005SelfLocator::calcPose(), and GT2005SelfLocator::calcPoseFromSubCube(). |
|
|
Whether this sample receives odometry updates or not.
Definition at line 52 of file GT2005SelfLocatorSample.h. Referenced by GT2005SelfLocator::motionUpdate(), GT2005SelfLocator::resample(), and reset(). |
1.3.6