Message types

The Player message types. More...

 A data message.
 A command message.
 A request message.
 A positive response message.
 A synch message.
 A negative response message.

Detailed Description

The Player message types.

Define Documentation


A data message.

Such messages are asynchronously published from devices, and are usually used to reflect some part of the device's state.

Referenced by SegwayRMP::Main(), RFLEX::Main(), REB::Main(), ER::Main(), ClodBuster::Main(), CameraUvc::Main(), SegwayRMP400::ProcessData(), snd::ProcessMessage(), SegwayRMP400::ProcessMessage(), LaserTransform::ProcessMessage(), ImageBase::ProcessMessage(), and GarciaDriver::ProcessMessage().


A request message.

Such messages are published synchronously to devices, usually to get or set some aspect of the device's state that is not available in data or command messages. Every request message gets a response message (either PLAYER_MSGTYPE_RESP_ACK or PLAYER_MSGTYPE_RESP_NACK).

Referenced by wbr914::ProcessMessage(), ToRanger::ProcessMessage(), SphereDriver::ProcessMessage(), snd::ProcessMessage(), SegwayRMP400::ProcessMessage(), SegwayRMP::ProcessMessage(), RFLEX::ProcessMessage(), P2OS::ProcessMessage(), MapTransform::ProcessMessage(), LaserTransform::ProcessMessage(), Khepera::ProcessMessage(), GarciaDriver::ProcessMessage(), FromRanger::ProcessMessage(), Erratic::ProcessMessage(), ER::ProcessMessage(), ClodBuster::ProcessMessage(), AdaptiveMCL::ProcessMessage(), and Alsa::ProcessMessage().


A positive response message.

Such messages are published in response to a PLAYER_MSGTYPE_REQ. This message indicates that the underlying driver received, interpreted, and processed the request. Any requested data is in the body of this response message.

Referenced by ToRanger::ProcessMessage(), SphereDriver::ProcessMessage(), SegwayRMP400::ProcessMessage(), RFLEX::ProcessMessage(), MapTransform::ProcessMessage(), LaserTransform::ProcessMessage(), Khepera::ProcessMessage(), FromRanger::ProcessMessage(), ER::ProcessMessage(), ClodBuster::ProcessMessage(), and AdaptiveMCL::ProcessMessage().


A negative response message.

Such messages are published in response to a PLAYER_MSGTYPE_REQ. This messages indicates that the underlying driver did not process the message. Possible causes include: the driver's message queue was full, the driver failed to interpret the request, or the the driver does not support the request. This message will have no data in the body.

Referenced by ToRanger::ProcessMessage(), LaserTransform::ProcessMessage(), Khepera::ProcessMessage(), FromRanger::ProcessMessage(), and ER::ProcessMessage().


A synch message.

Only used in PLAYER_DATAMODE_PULL mode. Sent at the end of the set of messages that are sent in response to a PLAYER_PLAYER_REQ_DATA request.

Last updated 25 May 2011 21:17:00