Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Tools/MessageQueue/MessageIDs.h File Reference

Declaration of ids for debug messages. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define SEND_IMAGE(i, cm)   static_cast<Image&>(i) << static_cast<CameraMatrix&>(cm)
 Composes the idImage message into a message queue.

#define RECEIVE_IMAGE(i, cm)   static_cast<Image&>(i) >> static_cast<CameraMatrix&>(cm)
 Receives the idImage message from a message queue.

#define SEND_PERCEPTS(cm, ci, ballp, lmp, lnsp, ep, plp, op, psdp, cp)
 Composes the idPercepts message into a message queue.

#define RECEIVE_PERCEPTS(cm, ci, ballp, lmp, lnsp, ep, plp, op, psdp, cp)
 Receives the idPercepts message from a message queue.

#define SEND_WORLD_STATE(rp, bp, ppc, om, rs, cm, ci)
 Composes the idWorldState message into a message queue.

#define RECEIVE_WORLDSTATE(rp, bp, ppc, om, rs, cm, ci)
 Receives the idWorldState message from a message queue.


Enumerations

enum  MessageID {
  undefined = 0, idText, idSensorData = 3,
  idPercepts = 8, idSpecialPercept, idWorldState,
  idOracledWorldState, idLowResImage = 2, idJPEGImage = 37,
  idImage, idDebugImage, idDebugColorClassImage,
  idDebugKeyTable, idQueueFillRequest, idGenericDebugData,
  idSolutionRequest, idDebugDrawing, idDebugDrawing2,
  idDebugDrawingFinished, idStopwatch, idHistogram,
  idMotionRequest, idOdometryData, idJointData,
  idJointDataSequence, idHeadMotionRequest, idHeadControlMode,
  idFourierCoefficients, idLEDRequest, idInvKinWalkingParameters,
  idYetAnotherInvKinParams, idYetAnotherInvKinPaws, idMotionInfo,
  idBodyPosture, idPIDData, idJoystickData,
  idSoundRequest, idGT2004Parameters, idGT2004EvolutionRequest,
  idMotionNet, idOdometryScale, idCameraParameters,
  idColorTable64, idGameSpeed, idMotionControlSlowMotion,
  idBodyOffsets, idXabsl2DebugRequest, idXabsl2DebugMessage,
  idXabsl2IntermediateCode, idKickSelectionTable, idGlobalGameControlData,
  idGameControlData, idKickRecord, idColorTableCuboids,
  idColorTableReferenceColor, idColorTableTSL, idLinesSelfLocatorParameters,
  idGT2004BallLocatorData, idSingleBeliefs, idChoosenOption,
  idChoosenTacticEntry, idTacticEntryArray, idFreezeRequest,
  idTimeWeights, numOfMessageIDs
}
 IDs for debug messages. More...


Detailed Description

Declaration of ids for debug messages.

Author:
Martin Lötzsch

Definition in file MessageIDs.h.


Define Documentation

#define SEND_IMAGE i,
cm   )     static_cast<Image&>(i) << static_cast<CameraMatrix&>(cm)
 

Composes the idImage message into a message queue.

Definition at line 201 of file MessageIDs.h.

Referenced by Cognition::main().

#define RECEIVE_IMAGE i,
cm   )     static_cast<Image&>(i) >> static_cast<CameraMatrix&>(cm)
 

Receives the idImage message from a message queue.

Definition at line 203 of file MessageIDs.h.

Referenced by Cognition::handleMessage().

#define SEND_PERCEPTS cm,
ci,
ballp,
lmp,
lnsp,
ep,
plp,
op,
psdp,
cp   ) 
 

Value:

static_cast<CameraMatrix&>(cm) << static_cast<CameraInfo&>(ci) << static_cast<BallPercept&>(ballp) \
  << static_cast<LandmarksPercept&>(lmp) << static_cast<LinesPercept&>(lnsp) << static_cast<EdgesPercept&>(ep) << static_cast<PlayersPercept&>(plp) << static_cast<ObstaclesPercept&>(op) << static_cast<PSDPercept&>(psdp) << static_cast<CollisionPercept&>(cp)
Composes the idPercepts message into a message queue.

Definition at line 206 of file MessageIDs.h.

Referenced by Cognition::main().

#define RECEIVE_PERCEPTS cm,
ci,
ballp,
lmp,
lnsp,
ep,
plp,
op,
psdp,
cp   ) 
 

Value:

static_cast<CameraMatrix&>(cm) >> static_cast<CameraInfo&>(ci) >> static_cast<BallPercept&>(ballp) \
  >> static_cast<LandmarksPercept&>(lmp) >> static_cast<LinesPercept&>(lnsp) >> static_cast<EdgesPercept&>(ep) >> static_cast<PlayersPercept&>(plp) >> static_cast<ObstaclesPercept&>(op) >> static_cast<PSDPercept&>(psdp) >> static_cast<CollisionPercept&>(cp)
Receives the idPercepts message from a message queue.

Definition at line 210 of file MessageIDs.h.

Referenced by Cognition::handleMessage().

#define SEND_WORLD_STATE rp,
bp,
ppc,
om,
rs,
cm,
ci   ) 
 

Value:

static_cast<RobotPose&>(rp) \
  << static_cast<BallModel&>(bp) << static_cast<PlayerPoseCollection&>(ppc) << static_cast<ObstaclesModel&>(om) << static_cast<RobotState&>(rs) << static_cast<CameraMatrix&>(cm) << static_cast<CameraInfo&>(ci)
Composes the idWorldState message into a message queue.

Definition at line 215 of file MessageIDs.h.

Referenced by Cognition::main().

#define RECEIVE_WORLDSTATE rp,
bp,
ppc,
om,
rs,
cm,
ci   ) 
 

Value:

static_cast<RobotPose&>(rp) \
  >> static_cast<BallModel&>(bp) >> static_cast<PlayerPoseCollection&>(ppc) >> static_cast<ObstaclesModel&>(om) >> static_cast<RobotState&>(rs) >> static_cast<CameraMatrix&>(cm) >> static_cast<CameraInfo&>(ci)
Receives the idWorldState message from a message queue.

Definition at line 218 of file MessageIDs.h.

Referenced by Cognition::handleMessage(), and LogPlayer::saveCSV().


Enumeration Type Documentation

enum MessageID
 

IDs for debug messages.

To distinguish debug messages, they all have an id.

Enumeration values:
undefined  undefined message type
idText  the message contains plain unstructured text
idSensorData  the message is SensorData
idPercepts  the message contains percepts (see macro SEND_PERCEPTS)
idSpecialPercept  the message is a SpecialPercept
idWorldState  the message contains the world state (see macro SEND_WORLDSTATE)
idOracledWorldState  the message is an oracled WorldState
idLowResImage  the message is an old image (this should be id 2 for compatibility with old logfiles)
idJPEGImage  the message is a JPEGImage
idImage  the message is an Image (see macro SEND_IMAGE)
idDebugImage  the message is a debug image (see macro SEND_DEBUG_IMAGE)
idDebugColorClassImage  the message is a debug color class image (see macro SEND_DEBUG_COLOR_CLASS_IMAGE)
idDebugKeyTable  the message is a DebugKeyTable
idQueueFillRequest  the message is a QueueFillRequest
idGenericDebugData  data/parameters used for debugging and parameter optimization
idSolutionRequest  the message is a SolutionRequest
idDebugDrawing  the message is a DebugDrawing
idDebugDrawing2  the message is a DebugDrawing
idDebugDrawingFinished  the message is a DebugDrawing
idStopwatch  the message contains stopwatch data
idHistogram  contains a histogram
idMotionRequest  the message is a MotionRequest
idOdometryData  the message is OdometryData
idJointData  the message is a JointData
idJointDataSequence  the message is a JointDataSequence
idHeadMotionRequest  the message is a HeadMotionRequest
idHeadControlMode  the message is a HeadControlMode
idFourierCoefficients  the message contains a set of fourier coefficients
idLEDRequest  the message is a LEDRequest
idInvKinWalkingParameters  the message contains parameters for the InvKinWalkingEngine
idYetAnotherInvKinParams  contains a parameters for an inv kin engine
idYetAnotherInvKinPaws  contains a parameters for the paws positions of an inv kin engine
idMotionInfo  the message is the MotionInfo including the executed MotionRequest
idBodyPosture  the message is the a BodyPosture
idPIDData  The message is a PIDData
idJoystickData  the message is a JoystickData
idSoundRequest  The message is a SoundRequest
idGT2004Parameters  the message contains UDParameters set for the UDWalkingEngine
idGT2004EvolutionRequest  the message contains a request like 'current individual to measure is #7'
idMotionNet  The message contains a complete motion net for the special actions
idOdometryScale  the message is the generic debug data for odoemtry scale.
idCameraParameters  the message is CameraParameters
idColorTable64  the message is a ColorTable64
idGameSpeed 
idMotionControlSlowMotion  the message contains a desired game speed
idBodyOffsets  the message is the generic debug data for body offsets.
idXabsl2DebugRequest  the message is a Xabsl2DebugRequest
idXabsl2DebugMessage  the message contains a debug message from the Xabsl2BehaviorControl
idXabsl2IntermediateCode  intermediate code for a Xabsl2BehaviorControl
idKickSelectionTable  A KickSelectionTable
idGlobalGameControlData  the message is a GlobalGameControlData
idGameControlData  the message is a GameControlData
idKickRecord  the message contains information about a kick performed and the resulting ball position
idColorTableCuboids  contains a colorTableCuboids
idColorTableReferenceColor  contains a colorTableReferenceColor
idColorTableTSL  the message is a ColorTableTSL
idLinesSelfLocatorParameters 
idGT2004BallLocatorData  settings for Kalman Ball Locator Filter
idSingleBeliefs  The message contains the SingleBeliefs of the robot
idChoosenOption  The message contains the ChoosenOption of the robot
idChoosenTacticEntry  The message contains the ChoosenTacticEntry of the robot
idTacticEntryArray  The message contains a TacticEntryArray
idFreezeRequest  The message contains a freeze Request
idTimeWeights  The message contains aging information on that robot
numOfMessageIDs  the number of message ids

Definition at line 18 of file MessageIDs.h.

Referenced by LogPlayer::getCurrentMessageID(), InMessage::getMessageID(), GenericDebugData::getMessageID(), MessageQueueBase::getMessageID(), and operator>>().


Generated on Thu Sep 23 20:02:43 2004 for GT2004 by doxygen 1.3.6