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


Public Types | |
| enum | { UNINITIALIZED_PROBABILITY = 2, NO_PERCEPT_PROBABILITY = 3, PERCEPT_TTL_MS = 2000 } |
| enum | PerceptType { xFieldLine, yFieldLine, border, flag, yellowGoal, skyblueGoal, lineCrossing, numberOfPerceptTypes } |
Public Member Functions | |
| GT2005StableSelfLocatorSample () | |
| Constructor. | |
| GT2005StableSelfLocatorSample (const Pose2D &pose) | |
| Constructor. | |
| double | getProbability () const |
| void | updateProbability () |
| void | updateProbability (const double *average) |
| void | setPerceptProbability (GT2005StableSelfLocatorSample::PerceptType type, double value) |
| sets the probability for a percept. | |
| bool | isValid () const |
Public Attributes | |
| Pose2D | camera |
| Temporary representing the pose of the camera. | |
| double | perceptProbabilities [numberOfPerceptTypes] |
| a probability for each percept-type recognized | |
| long | perceptTimestamps [numberOfPerceptTypes] |
| GT2005StableSelfLocatorSample * | next |
| The next sample in the cell cube. | |
Static Public Attributes | |
| double | paramProbUpLimit |
| double | paramProbDownLimit |
| double | paramProbDelay |
Definition at line 16 of file GT2005StableSelfLocatorSample.h.
|
|
Definition at line 20 of file GT2005StableSelfLocatorSample.h. |
|
|
Definition at line 32 of file GT2005StableSelfLocatorSample.h. |
|
|
Constructor.
Definition at line 12 of file GT2005StableSelfLocatorSample.cpp. |
|
|
Constructor.
Definition at line 23 of file GT2005StableSelfLocatorSample.cpp. References SystemCall::getCurrentSystemTime(). |
Here is the call graph for this function:

|
|
Definition at line 60 of file GT2005StableSelfLocatorSample.h. Referenced by GT2005StableSelfLocator::calcPoseFromSubCube(), and GT2005StableSelfLocator::resample(). |
|
|
Definition at line 40 of file GT2005StableSelfLocatorSample.cpp. |
|
|
Definition at line 62 of file GT2005StableSelfLocatorSample.cpp. References max, NO_PERCEPT_PROBABILITY, paramProbDelay, and paramProbUpLimit. |
|
||||||||||||
|
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 93 of file GT2005StableSelfLocatorSample.cpp. References paramProbDownLimit, and paramProbUpLimit. Referenced by GT2005StableSelfLocator::updateByCenterCircle(), GT2005StableSelfLocator::updateByCrossing(), GT2005StableSelfLocator::updateByFlag(), GT2005StableSelfLocator::updateByGoalPost(), and GT2005StableSelfLocator::updateByPoint(). |
|
|
Definition at line 84 of file GT2005StableSelfLocatorSample.h. Referenced by GT2005StableSelfLocator::calcPose(), and GT2005StableSelfLocator::calcPoseFromSubCube(). |
|
|
Initial value: 0.01
GT2005StableSelfLocatorSample::paramProbDownLimit = 0.005
GT2005StableSelfLocatorSample::paramProbDelay = 3
Definition at line 8 of file GT2005StableSelfLocatorSample.cpp. Referenced by setPerceptProbability(), and updateProbability(). |
|
|
Definition at line 26 of file GT2005StableSelfLocatorSample.h. Referenced by setPerceptProbability(). |
|
|
Definition at line 26 of file GT2005StableSelfLocatorSample.h. Referenced by updateProbability(). |
|
|
Temporary representing the pose of the camera.
Definition at line 44 of file GT2005StableSelfLocatorSample.h. Referenced by GT2005StableSelfLocator::motionUpdate(), GT2005StableSelfLocator::updateByFlag(), and GT2005StableSelfLocator::updateByGoalPost(). |
|
|
a probability for each percept-type recognized
Definition at line 45 of file GT2005StableSelfLocatorSample.h. Referenced by GT2005StableSelfLocator::calcAveragePerceptTypeProbabilities(). |
|
|
Definition at line 46 of file GT2005StableSelfLocatorSample.h. |
|
|
The next sample in the cell cube.
Definition at line 47 of file GT2005StableSelfLocatorSample.h. Referenced by GT2005StableSelfLocator::calcPose(), and GT2005StableSelfLocator::calcPoseFromSubCube(). |
1.3.6