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


Public Member Functions | |
| GT2005TeamBallLocator (const TeamBallLocatorInterfaces &interfaces) | |
| virtual void | execute () |
| Executes the module. | |
| void | calcRepresentativeParticleContainer (GT2005ParticleContainer &oldContainer, GT2005ParticleContainerSend &newContainer) |
| void | timeUpdateReceived (GT2005Particle *particle, double &difference) |
| void | timeUpdateNotReceived (GT2005Particle *particle, int &framesNotSeen) |
| double | getTimeFactor (double &difference) |
| bool | handleMessage (InMessage &message) |
| Called from a MessageQueue to distribute messages. | |
| void | drawParticle (const GT2005Particle &particle, Drawings::Color color) const |
| void | draw (const GT2005ParticleContainerReceived &container, const double &ballX, const double &ballY, const double &ballP, Drawings::Color particleColor, Drawings::Color estimatedBallColor) const |
Public Attributes | |
| double | timeFactorThreshold |
| GT2005ParticleContainerReceived | receivingContainer |
| int | framesNothingReceived [3] |
| Pose2D | lastOdometryData |
Static Public Attributes | |
| double | smallestProb = 0.05 |
| double | biggestProb = 0.10 |
| int | numberOfCells = 0 |
Definition at line 30 of file GT2005TeamBallLocator.h.
|
|
Definition at line 22 of file GT2005TeamBallLocator.cpp. References framesNothingReceived, and BallState::useGivenProbabilities. |
|
Here is the call graph for this function:

|
||||||||||||
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 476 of file GT2005TeamBallLocator.cpp. References getTimeFactor(), and GT2005Particle::probability. Referenced by execute(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 438 of file GT2005TeamBallLocator.cpp. References decreaseProbValue, maxDistTimes, GT2005Particle::pose, GT2005Particle::probability, random(), Vector2< double >::x, and Vector2< double >::y. Referenced by execute(). |
Here is the call graph for this function:

|
|
Definition at line 481 of file GT2005TeamBallLocator.cpp. Referenced by timeUpdateReceived(). |
|
|
Called from a MessageQueue to distribute messages. Use message.getMessageID to decide if the message is relavant for the MesssageHandler derivate. Use message.bin, message.text or message.config as In streams to get the data from.
Reimplemented from Module. Definition at line 496 of file GT2005TeamBallLocator.cpp. References biggestProb, InMessage::bin, GenericDebugData::data, InMessage::getMessageID(), idGT2005TeamBallLocator, and smallestProb. |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 513 of file GT2005TeamBallLocator.cpp. References CIRCLE, NCIRCLE, GT2005Particle::pose, GT2005Particle::probability, Vector2< double >::x, and Vector2< double >::y. Referenced by draw(). |
|
||||||||||||||||||||||||||||
|
Definition at line 527 of file GT2005TeamBallLocator.cpp. References CIRCLE, GT2005ParticleContainerReceived::current, DEBUG_DRAWING_FINISHED, drawParticle(), GT2005ParticleContainerReceived::getNumberOfSamples(), LINE, NCIRCLE, NCOLORED_LINE, NDECLARE_DEBUGDRAWING, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. Referenced by execute(). |
Here is the call graph for this function:

|
|
Definition at line 16 of file GT2005TeamBallLocator.cpp. Referenced by calcRepresentativeParticleContainer(), and handleMessage(). |
|
|
Definition at line 17 of file GT2005TeamBallLocator.cpp. Referenced by calcRepresentativeParticleContainer(), and handleMessage(). |
|
|
Definition at line 18 of file GT2005TeamBallLocator.cpp. Referenced by calcRepresentativeParticleContainer(). |
|
|
Definition at line 42 of file GT2005TeamBallLocator.h. |
|
|
Definition at line 45 of file GT2005TeamBallLocator.h. Referenced by execute(). |
|
|
Definition at line 48 of file GT2005TeamBallLocator.h. Referenced by execute(), and GT2005TeamBallLocator(). |
|
|
Definition at line 51 of file GT2005TeamBallLocator.h. |
1.3.6