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


Public Types | |
| enum | { UNINITIALIZED_PROBABILITY = 2, NO_PERCEPT_PROBABILITY = 3, PERCEPT_TTL_MS = 2000 } |
| enum | PerceptType { xFieldLine, yFieldLine, flag, yellowGoal, skyblueGoal, lineCrossing, numberOfPerceptTypes } |
Public Member Functions | |
| SlamSelfLocatorSample () | |
| Constructor. | |
| SlamSelfLocatorSample (const Pose2D &pose) | |
| Constructor. | |
| double | getProbability () const |
| void | updateProbability () |
| void | updateProbability (const double *average) |
| void | setPerceptProbability (SlamSelfLocatorSample::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] |
| SlamSelfLocatorSample * | next |
| The next sample in the cell cube. | |
Static Public Attributes | |
| double | paramProbUpLimit |
| double | paramProbDownLimit |
| double | paramProbDelay |
Definition at line 16 of file SlamSelfLocatorSample.h.
|
|
Definition at line 20 of file SlamSelfLocatorSample.h. |
|
|
Definition at line 32 of file SlamSelfLocatorSample.h. |
|
|
Constructor.
Definition at line 12 of file SlamSelfLocatorSample.cpp. |
|
|
Constructor.
Definition at line 23 of file SlamSelfLocatorSample.cpp. References SystemCall::getCurrentSystemTime(). |
Here is the call graph for this function:

|
|
Definition at line 59 of file SlamSelfLocatorSample.h. Referenced by SlamSelfLocator::calcPoseFromSubCube(), and SlamSelfLocator::resample(). |
|
|
Definition at line 40 of file SlamSelfLocatorSample.cpp. |
|
|
Definition at line 62 of file SlamSelfLocatorSample.cpp. References max, 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 SlamSelfLocatorSample.cpp. References paramProbDownLimit, and paramProbUpLimit. Referenced by SlamSelfLocator::updateByCenterCircle(), SlamSelfLocator::updateByCrossing(), SlamSelfLocator::updateByFlag(), SlamSelfLocator::updateByGoalPost(), and SlamSelfLocator::updateByPoint(). |
|
|
Definition at line 83 of file SlamSelfLocatorSample.h. Referenced by SlamSelfLocator::calcPose(), and SlamSelfLocator::calcPoseFromSubCube(). |
|
|
Initial value: Definition at line 8 of file SlamSelfLocatorSample.cpp. Referenced by setPerceptProbability(), and updateProbability(). |
|
|
Definition at line 26 of file SlamSelfLocatorSample.h. Referenced by setPerceptProbability(). |
|
|
Definition at line 26 of file SlamSelfLocatorSample.h. Referenced by updateProbability(). |
|
|
Temporary representing the pose of the camera.
Definition at line 43 of file SlamSelfLocatorSample.h. Referenced by SlamSelfLocator::motionUpdate(), SlamSelfLocator::updateByFlag(), SlamSelfLocator::updateByGoalPost(), and SlamSelfLocator::updateByNotSeenGoal(). |
|
|
a probability for each percept-type recognized
Definition at line 44 of file SlamSelfLocatorSample.h. Referenced by SlamSelfLocator::calcAveragePerceptTypeProbabilities(). |
|
|
Definition at line 45 of file SlamSelfLocatorSample.h. |
|
|
The next sample in the cell cube.
Definition at line 46 of file SlamSelfLocatorSample.h. Referenced by SlamSelfLocator::calcPose(), and SlamSelfLocator::calcPoseFromSubCube(). |
1.3.6