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


representations | |
| void | performFpsMeasure () |
| char | colorTableBuffer [sizeof(ColorTable64) > sizeof(ColorTableTSL)?sizeof(ColorTable64) > sizeof(ColorTable32K)?sizeof(ColorTable64):sizeof(ColorTable32K):sizeof(ColorTableTSL) > sizeof(ColorTable32K)?sizeof(ColorTableTSL):sizeof(ColorTable32K)] |
| the color tables | |
| ColorTable & | colorTable |
| the color table | |
| CameraMatrix | cameraMatrix |
| The offset and rotation of the camera. | |
| BallPercept | ballPercept |
| Detected balls. | |
| PlayersPercept | playersPercept |
| Detected players. | |
| ObstaclesPercept | obstaclesPercept |
| Detected obstacles. | |
| CollisionPercept | collisionPercept |
| The collision percept. | |
| LinesPercept | linesPercept |
| Detected lines. | |
| EdgesPercept | edgesPercept |
| Detected edges. | |
| BodyPercept | bodyPercept |
| Detected switches. | |
| BodyPosture | bodyPosture |
| The height and the inclination of the robot's body. | |
| PSDPercept | psdPercept |
| A spot relative to the robot that was detected by the PSD sensor. | |
| SpecialPercept | specialPercept |
| A special percept. | |
| SpecialVisionRequest | specialVisionRequest |
| The request for the specialVision module. | |
| CalibrationRequest | calibrationRequest |
| The request for calibration. | |
| SampleSetProxy< PoseSample > | selfLocatorSamples |
| The sample set proxy linked to the sample set of the active locator. | |
| GT2005ParticleContainer | ballLocatorSamples |
| The particles of the ball locator. | |
| PassCorridorCollection | passCorridorCollection |
| The calculated pass corridors. | |
| PlayersModel | playersModel |
| The players model set by the players locator. | |
| TeamMessageCollection | teamMessageCollection |
| The team message collection. | |
| BehaviorTeamMessage | outgoingBehaviorTeamMessage |
| The outgoing behavior team message. | |
| JoystickData | joystickData |
| Data produced by an extern sensor called joystick. | |
| RobotPoseCollection | robotPoseCollection |
| robot pose collection | |
| BallHandling | ballHandling |
| The feedback of the behavior about the ball handling. | |
| unsigned long | lastFrameNumber |
| unsigned long | fpsCounter |
| unsigned long | fpsLastMeasureTime |
Public Member Functions | |
| Cognition () | |
| constructor | |
| ~Cognition () | |
| destructor | |
| virtual int | main () |
| is called from the framework once in every frame | |
| virtual void | init () |
| is called direct before the first call of main() | |
| virtual bool | handleMessage (InMessage &message) |
| The function handles incoming debug messages. | |
Protected Attributes | |
| bool | processImage |
| If true, then a new image was received in the current frame. | |
| bool | processSensorData |
| If true, then new sensor data were received in the current frame. | |
| bool | processPercepts |
| If true, then percepts were received or generated in the current frame. | |
| GTCamWorldState | gtCamWorldStateIN |
| A GTCam Worldstate. | |
| GTCamWorldState | gtCamWorldStateOUT |
| bool | traceStored |
| Has a trace already been stored? | |
modules | |
| ColorTableModSelector * | pColorTableMod |
| a reference to the colortable selector | |
| ImageProcessorSelector * | pImageProcessor |
| a reference to the image processor | |
| SensorDataProcessorSelector * | pSensorDataProcessor |
| a reference to the sensor data processor | |
| CollisionDetectorSelector * | pCollisionDetector |
| a reference to the collision detector | |
| RobotStateDetectorSelector * | pRobotStateDetector |
| a reference to the robot state detector | |
| BallLocatorSelector * | pBallLocator |
| a reference to the ball-locator | |
| TeamBallLocatorSelector * | pTeamBallLocator |
| a reference to the team ball locator | |
| PlayersLocatorSelector * | pPlayersLocator |
| a reference to the players-locator | |
| ObstaclesLocatorSelector * | pObstaclesLocator |
| a reference to the obstacles-locator | |
| SelfLocatorSelector * | pSelfLocator |
| a reference to the self-locator | |
| BehaviorControlSelector * | pBehaviorControl |
| a reference to the behavior control | |
| SensorBehaviorControlSelector * | pSensorBehaviorControl |
| a reference to sensor based behavior control | |
| SpecialVision * | pSpecialVision |
| a reference to the special vison module | |
| GTCamSelector * | pGTCamSelector |
| a reference to the GTCamSelector | |
Private Member Functions | |
| RECEIVER (SensorDataBuffer) | |
| RECEIVER (Image) | |
| NET_RECEIVER (GameControlData) | |
| RECEIVER (PackageMotionCognition) | |
| RECEIVER (OdometryData) | |
| NET_SENDER (TeamMessage1) | |
| NET_SENDER (TeamMessage2) | |
| NET_SENDER (TeamMessage3) | |
| NET_RECEIVER (TeamMessage1) | |
| NET_RECEIVER (TeamMessage2) | |
| NET_RECEIVER (TeamMessage3) | |
| SENDER (PackageCognitionMotion) | |
| SHARED_SENDER (Trace) | |
| SHARED_RECEIVER (Trace) | |
| UDP_BROADCAST_HANDLER (GameControlData) | |
Private Attributes | |
| DEBUGGING | |
| GTCAM_HANDLER | |
| GTCAM_TIMESYNC_HANDLER | |
| STATUSBROADCAST_HANDLER | |
| UDP_HANDLER | |
Definition at line 62 of file Cognition.h.
|
Here is the call graph for this function:

|
|
destructor
Definition at line 315 of file Cognition.cpp. References pBallLocator, pBehaviorControl, pCollisionDetector, pColorTableMod, pGTCamSelector, pImageProcessor, pObstaclesLocator, pPlayersLocator, pRobotStateDetector, pSelfLocator, pSensorBehaviorControl, pSensorDataProcessor, pSpecialVision, and pTeamBallLocator. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Here is the call graph for this function:

|
|
is called direct before the first call of main()
Reimplemented from Process. Definition at line 874 of file Cognition.cpp. References getPlayer(), getRobotConfiguration(), idText, INIT_GTCAM_HANDLER, INIT_GTCAM_TIMESYNC_HANDLER, INIT_STATUSBROADCAST_HANDLER, INIT_UDP_HANDLER, OUTPUT, START_UDP_BROADCAST_HANDLER, and START_UDP_HANDLER. |
Here is the call graph for this function:

|
Here is the call graph for this function:

|
|
Definition at line 339 of file Cognition.cpp. References fpsCounter, fpsLastMeasureTime, and SystemCall::getCurrentSystemTime(). Referenced by main(). |
Here is the call graph for this function:

|
|
Definition at line 66 of file Cognition.h. |
|
|
Definition at line 67 of file Cognition.h. |
|
|
Definition at line 68 of file Cognition.h. |
|
|
Definition at line 72 of file Cognition.h. |
|
|
Definition at line 97 of file Cognition.h. |
|
|
If true, then a new image was received in the current frame.
Definition at line 136 of file Cognition.h. Referenced by handleMessage(), and main(). |
|
|
If true, then new sensor data were received in the current frame.
Definition at line 139 of file Cognition.h. Referenced by handleMessage(), and main(). |
|
|
If true, then percepts were received or generated in the current frame.
Definition at line 142 of file Cognition.h. Referenced by handleMessage(), and main(). |
|
|
A GTCam Worldstate.
Definition at line 145 of file Cognition.h. |
|
|
Definition at line 146 of file Cognition.h. |
|
|
a reference to the colortable selector
Definition at line 152 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the image processor
Definition at line 155 of file Cognition.h. Referenced by Cognition(), handleMessage(), main(), and ~Cognition(). |
|
|
a reference to the sensor data processor
Definition at line 158 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the collision detector
Definition at line 161 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the robot state detector
Definition at line 164 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the ball-locator
Definition at line 167 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the team ball locator
Definition at line 170 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the players-locator
Definition at line 173 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the obstacles-locator
Definition at line 176 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the self-locator
Definition at line 179 of file Cognition.h. Referenced by Cognition(), handleMessage(), main(), and ~Cognition(). |
|
|
a reference to the behavior control
Definition at line 182 of file Cognition.h. Referenced by Cognition(), handleMessage(), main(), and ~Cognition(). |
|
|
a reference to sensor based behavior control
Definition at line 185 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the special vison module
Definition at line 188 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
a reference to the GTCamSelector
Definition at line 191 of file Cognition.h. Referenced by Cognition(), main(), and ~Cognition(). |
|
|
the color tables
Definition at line 203 of file Cognition.h. Referenced by handleMessage(). |
|
|
the color table
Definition at line 205 of file Cognition.h. |
|
|
The offset and rotation of the camera.
Definition at line 208 of file Cognition.h. |
|
|
Detected balls.
Definition at line 211 of file Cognition.h. |
|
|
Detected players.
Definition at line 214 of file Cognition.h. |
|
|
Detected obstacles.
Definition at line 217 of file Cognition.h. |
|
|
The collision percept.
Definition at line 220 of file Cognition.h. |
|
|
Detected lines.
Definition at line 223 of file Cognition.h. |
|
|
Detected edges.
Definition at line 226 of file Cognition.h. |
|
|
Detected switches.
Definition at line 229 of file Cognition.h. |
|
|
The height and the inclination of the robot's body.
Definition at line 232 of file Cognition.h. |
|
|
A spot relative to the robot that was detected by the PSD sensor.
Definition at line 235 of file Cognition.h. |
|
|
A special percept.
Definition at line 238 of file Cognition.h. |
|
|
The request for the specialVision module.
Definition at line 241 of file Cognition.h. |
|
|
The request for calibration.
Definition at line 244 of file Cognition.h. |
|
|
The sample set proxy linked to the sample set of the active locator.
Definition at line 247 of file Cognition.h. |
|
|
The particles of the ball locator.
Definition at line 250 of file Cognition.h. |
|
|
The calculated pass corridors.
Definition at line 253 of file Cognition.h. |
|
|
The players model set by the players locator.
Definition at line 256 of file Cognition.h. |
|
|
The team message collection.
Definition at line 259 of file Cognition.h. |
|
|
The outgoing behavior team message.
Definition at line 262 of file Cognition.h. |
|
|
Data produced by an extern sensor called joystick.
Definition at line 265 of file Cognition.h. |
|
|
robot pose collection
Definition at line 268 of file Cognition.h. |
|
|
The feedback of the behavior about the ball handling.
Definition at line 271 of file Cognition.h. |
|
|
Definition at line 273 of file Cognition.h. Referenced by Cognition(). |
|
|
Definition at line 276 of file Cognition.h. Referenced by Cognition(), and performFpsMeasure(). |
|
|
Definition at line 277 of file Cognition.h. Referenced by Cognition(), and performFpsMeasure(). |
|
|
Has a trace already been stored?
Definition at line 281 of file Cognition.h. Referenced by main(). |
1.3.6