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


Public Member Functions | |
| GTCamSelfLocator (const SelfLocatorInterfaces &interfaces) | |
| Constructor. | |
| virtual void | execute () |
| The function executes the module. | |
| virtual bool | handleMessage (InMessage &message) |
| Called from a MessageQueue to distribute messages. | |
Private Attributes | |
| RobotPose | lastPose |
| The last position. | |
Definition at line 17 of file GTCamSelfLocator.h.
|
|
Constructor.
Definition at line 41 of file GTCamSelfLocator.cpp. References lastPose, RobotPose::setValidity(), RobotPose::speedbyDistanceToGoal, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. |
Here is the call graph for this function:

|
|
The function executes the module.
Reimplemented from Module. Definition at line 49 of file GTCamSelfLocator.cpp. References CameraMatrix::frameNumber, RobotPose::frameNumber, SystemCall::getCurrentSystemTime(), getPlayer(), Player::getPlayerNumber(), GTCamWorldState::getRobotPose(), Player::getTeamColor(), lastPose, GTCamWorldState::playerWasSeen(), Pose2D::rotation, RobotPose::setValidity(), RobotPose::timestamp, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. |
Here is the call graph for this function:

|
|
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 90 of file GTCamSelfLocator.cpp. |
|
|
The last position.
Definition at line 35 of file GTCamSelfLocator.h. Referenced by execute(), and GTCamSelfLocator(). |
1.3.6