Inheritance diagram for RS::FrameworkSensorInterface:


Public Member Functions | |
| FrameworkSensorInterface () | |
| Default constructor. | |
| virtual | ~FrameworkSensorInterface () |
| Desturctor for the class. | |
| void | newCycle () |
| Is called when we have a new cycle. | |
| void | updateBeforeNewCycle () |
| Called before a new cycle is issued. | |
| void | see (const std::vector< ServerLineObject > &lines, const std::vector< ServerMarkerObject > &markers, const std::vector< ServerPlayerObject > &players, const ServerBallObject &ball) |
| Called from Sensors when we have new visual information. | |
| void | seeFullstate (const std::vector< FullstatePlayerObject > &fplayers, const CoachBallObject &cball) |
| Called from Sensors when we have new fullstate visual information. | |
| void | seeGlobal (const std::vector< CoachPlayerObject > &cplayers, const CoachBallObject &cball) |
| Called from Sensors when we have new global visual information.(coach). | |
| void | sense (const ServerAgentObject &agent) |
| Called from Sensors when we have new sense information. | |
| void | hearReferee (const PlayMode play_mode) |
| Called when we hear the referee. | |
| void | hearCoach (const std::string &message) |
| Called when we hear a message from our coach. | |
| void | hearSelf (const std::string &message) |
| Called when we hear a message from ourself. | |
| void | hearPlayerAsCoach (const Team team, const UIntUnknown nr, const std::string &message) |
| Called when we (the online coach) hear another player. | |
| void | hearTeammate (const UInt unum, const AngleDegUE direction, const std::string &message) |
| Called when we (field player) hears a teammate. | |
| void | hearAnotherTeammate (const UInt unum) |
| Called when we (field player) hears another teammate (no message). | |
| void | hearOpponent (const AngleDegUE direction, const std::string &message) |
| Called when we (field player) hears a opponent. | |
| void | hearAnotherOpponent () |
| Called when we (field player) hears another opponent. | |
| void | setLastSensorType (const SensorType sensor_type) |
| Sets the last command executed by the agent. | |
| void | setLastCommand (ServerCommand *command) |
Protected Attributes | |
| WorldModelInterface * | worldModelInterface |
| A pointer to the agents worldModelInterface. | |
| WorldObservation | obsWorld |
| The WorldObservation for the current cycle. | |
The information from the sensors is given error intervalls using the known information about server noise and then passed to the worldModelInterface in a WorldObservation object to be included in the agents WorldModel.
Maybe the FrameworkSensorInterface should be responsible for calling the update functions in the ViewManager.
Definition at line 95 of file FrameworkSensorInterface.h.
|
|
A pointer to the agents worldModelInterface. This is used to pass WorldObservation objects to reflect the new sensor information about the world. Definition at line 163 of file FrameworkSensorInterface.h. Referenced by setLastSensorType(), and updateBeforeNewCycle(). |
1.3-rc3