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


Public Member Functions | |
| GT2005BallLocator (const BallLocatorInterfaces &interfaces) | |
| virtual void | execute () |
| virtual bool | handleMessage (InMessage &message) |
| Handles debug messages. | |
| void | modify () |
| void | measurementUpdate (Vector2< double > ballOffset, double reliability, double distanceValue, double panningVelocityValue, double robotSpeedValue) |
| void | setBallSymbols () |
| void | drawParticle (const GT2005Particle &particle, Drawings::Color color) const |
| void | draw (Drawings::Color particleColor, Drawings::Color estimatedBallColor) const |
Private Member Functions | |
| double | getTimeFactor () |
| void | timeUpdate () |
| void | noNonsenseParticles () |
| bool | isNonSensePos (Vector2< double > position) |
| void | initializeParticles () |
| double | calculateDistanceValue (Vector2< double > ballOffset) |
| double | calculatePanningVelocityValue () |
| double | calculateRobotSpeedValue () |
Private Attributes | |
| double | oldX |
| double | oldY |
| double | timeChange |
| double | dFieldDiagonalLength |
| double | framesNoBallSeenThreshold |
| double | ballX |
| double | ballY |
| double | ballVX |
| double | ballVY |
| double | ballP |
| double | ballVP |
| CameraMatrix | prevCameraMatrix |
| int | frameNumber |
| Pose2D | lastOdometryData |
| int | framesNoBallSeen |
| unsigned long | ballSeenTime |
| Vector2< double > | lastPositionSeen |
| bool | stateIsSet |
| unsigned long | currentSystemTime |
| unsigned long | lastSystemTime |
| double | nonsensePos |
Definition at line 24 of file GT2005BallLocator.h.
|
Here is the call graph for this function:

|
Here is the call graph for this function:

|
|
Handles debug messages.
Reimplemented from Module. Definition at line 728 of file GT2005BallLocator.cpp. References InMessage::bin, GenericDebugData::data, InMessage::getMessageID(), idGT2005BallLocator1, and idGT2005BallLocator2. |
Here is the call graph for this function:

|
|
Definition at line 768 of file GT2005BallLocator.cpp. References MODIFY. Referenced by execute(). |
|
||||||||||||||||||||||||
|
(distance < timesBallRadius * ballRadius) Definition at line 333 of file GT2005BallLocator.cpp. References Geometry::distanceTo(), GT2005ParticleContainer::getIndexOfParticleWithLowestProb(), GT2005ParticleContainer::getNumberOfSamples(), GT2005Particle::getPosition(), min, GT2005Particle::pose, GT2005Particle::probability, GT2005Particle::provx, GT2005Particle::provy, random(), GT2005Particle::seenvx, GT2005Particle::seenvy, timeChange, GT2005Particle::vprob, GT2005Particle::vx, GT2005Particle::vy, Vector2< V >::x, Vector2< double >::x, Vector2< V >::y, and Vector2< double >::y. Referenced by execute(). |
Here is the call graph for this function:

|
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 808 of file GT2005BallLocator.cpp. References ARROW, CIRCLE, GT2005Particle::getPosition(), GT2005Particle::getVelocity(), NARROW, NCIRCLE, GT2005Particle::probability, Geometry::relative2FieldCoord(), Vector2< V >::x, Vector2< double >::x, Vector2< V >::y, and Vector2< double >::y. Referenced by draw(). |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 851 of file GT2005BallLocator.cpp. References ARROW, ballP, ballVX, ballVY, ballX, ballY, CIRCLE, DEBUG_DRAWING_FINISHED, drawParticle(), GT2005ParticleContainer::getNumberOfSamples(), BallPercept::multiplePercepts, NARROW, NCIRCLE, NCOLORED_LINE, NDECLARE_DEBUGDRAWING, MultipleBallPerceptList::numberOfElements, Geometry::relative2FieldCoord(), Pose2D::translation, Vector2< double >::x, Vector2< V >::x, Vector2< double >::y, and Vector2< V >::y. Referenced by execute(). |
Here is the call graph for this function:

|
|
Definition at line 189 of file GT2005BallLocator.cpp. References framesNoBallSeen. Referenced by noNonsenseParticles(), and timeUpdate(). |
|
|
Definition at line 204 of file GT2005BallLocator.cpp. References GT2005ParticleContainer::getNumberOfSamples(), getTimeFactor(), lastOdometryData, oldX, oldY, Pose2D::rotation, timeChange, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. Referenced by execute(). |
Here is the call graph for this function:

|
|
(randomValue < fNBSP) Definition at line 597 of file GT2005BallLocator.cpp. References ballP, ballX, ballY, dFieldDiagonalLength, Geometry::fieldCoord2Relative(), GT2005ParticleContainer::getNumberOfSamples(), getTimeFactor(), lastPositionSeen, GT2005Particle::pose, GT2005Particle::probability, random(), Geometry::relative2FieldCoord(), GT2005Particle::setParameters(), Vector2< V >::x, Vector2< double >::x, Vector2< V >::y, and Vector2< double >::y. Referenced by execute(). |
Here is the call graph for this function:

|
|
Definition at line 585 of file GT2005BallLocator.cpp. References dFieldDiagonalLength, nonsensePos, Vector2< V >::x, and Vector2< V >::y. Referenced by execute(). |
|
|
Definition at line 166 of file GT2005BallLocator.cpp. References ballP, ballVP, ballVX, ballVY, ballX, ballY, GT2005ParticleContainer::getNumberOfSamples(), random(), Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. Referenced by execute(), and GT2005BallLocator(). |
Here is the call graph for this function:

|
|
Definition at line 261 of file GT2005BallLocator.cpp. References Vector2< V >::x, and Vector2< V >::y. Referenced by execute(). |
|
|
Definition at line 282 of file GT2005BallLocator.cpp. References CameraMatrix::frameNumber, getRobotConfiguration(), RobotConfiguration::getRobotDimensions(), RobotDimensions::motionCycleTime, normalize(), Vector2< V >::normalize(), prevCameraMatrix, Pose3D::rotation, Vector3< V >::x, and Vector3< V >::y. Referenced by execute(). |
Here is the call graph for this function:

|
|
Definition at line 42 of file GT2005BallLocator.cpp. References MotionInfo::executedMotionRequest, Pose2D::translation, WalkRequest::walkParams, and MotionRequest::walkRequest. Referenced by execute(). |
|
|
Definition at line 75 of file GT2005BallLocator.h. Referenced by execute(), setBallSymbols(), and timeUpdate(). |
|
|
Definition at line 76 of file GT2005BallLocator.h. Referenced by execute(), setBallSymbols(), and timeUpdate(). |
|
|
Definition at line 79 of file GT2005BallLocator.h. Referenced by execute(), measurementUpdate(), and timeUpdate(). |
|
|
Definition at line 82 of file GT2005BallLocator.h. Referenced by GT2005BallLocator(), isNonSensePos(), and noNonsenseParticles(). |
|
|
Definition at line 85 of file GT2005BallLocator.h. |
|
|
Definition at line 88 of file GT2005BallLocator.h. Referenced by draw(), execute(), initializeParticles(), noNonsenseParticles(), and setBallSymbols(). |
|
|
Definition at line 89 of file GT2005BallLocator.h. Referenced by draw(), execute(), initializeParticles(), noNonsenseParticles(), and setBallSymbols(). |
|
|
Definition at line 90 of file GT2005BallLocator.h. Referenced by draw(), execute(), initializeParticles(), and setBallSymbols(). |
|
|
Definition at line 91 of file GT2005BallLocator.h. Referenced by draw(), execute(), initializeParticles(), and setBallSymbols(). |
|
|
Definition at line 92 of file GT2005BallLocator.h. Referenced by draw(), execute(), initializeParticles(), noNonsenseParticles(), and setBallSymbols(). |
|
|
Definition at line 93 of file GT2005BallLocator.h. Referenced by execute(), initializeParticles(), and setBallSymbols(). |
|
|
Definition at line 96 of file GT2005BallLocator.h. Referenced by calculatePanningVelocityValue(), execute(), and GT2005BallLocator(). |
|
|
Definition at line 99 of file GT2005BallLocator.h. |
|
|
Definition at line 102 of file GT2005BallLocator.h. Referenced by execute(), GT2005BallLocator(), setBallSymbols(), and timeUpdate(). |
|
|
Definition at line 105 of file GT2005BallLocator.h. Referenced by execute(), getTimeFactor(), and GT2005BallLocator(). |
|
|
Definition at line 108 of file GT2005BallLocator.h. Referenced by execute(), GT2005BallLocator(), and setBallSymbols(). |
|
|
Definition at line 111 of file GT2005BallLocator.h. Referenced by execute(), GT2005BallLocator(), noNonsenseParticles(), and setBallSymbols(). |
|
|
Definition at line 114 of file GT2005BallLocator.h. Referenced by execute(), and GT2005BallLocator(). |
|
|
Definition at line 121 of file GT2005BallLocator.h. Referenced by execute(), GT2005BallLocator(), and setBallSymbols(). |
|
|
Definition at line 124 of file GT2005BallLocator.h. Referenced by execute(), and GT2005BallLocator(). |
|
|
Definition at line 152 of file GT2005BallLocator.h. Referenced by isNonSensePos(). |
1.3.6