Interface specifications
[libplayercore]
Collaboration diagram for Interface specifications:
Detailed Description
All Player communication occurs through interfaces, which specify the syntax and semantics for a set of messages.See the tutorial Interfaces, drivers, and devices for a discussion of what an interface is.
Below are the details. For each interface, the following is given:
- Relevant constants (size limits, etc.)
- Message subtypes:
- Data subtypes : codes for each kind of data message defined by the interface
- Command subtypes : codes for each kind of command message define by the interfce.
- Request/reply subtypes: codes for each kind of request/reply message defined by the interface. Also specified are the interaction semantics, such as when to send a null request and when to expect a null response. A "null" request or response is a zero-length message.
- Utility structures : structures that appear inside messages.
- Message structures:
- Data message structures : data messages that can be published via this interface.
- Command message structures : command messages that can be sent to this interface.
- Request/reply message structures : request messages that can be sent to this interface and reply messages that can be expected from it.
It can be the case that a given message can be sent as data or in response to a request. A common example is geometry. For many devices geometry is fixed and so need only be requested once. For others geometry may change dynamically and so the device will publish it periodically.
- Todo:
- Normalize subtype names (PLAYER_PTZ_REQ_GEOM vs PLAYER_POSITION2D_REQ_GET_GEOM)
Modules | |
localize | |
Multi-hypothesis planar localization system. | |
speech | |
Speech synthesis. | |
speech_recognition | |
Speech recognition. | |
joystick | |
Joystick control. | |
pointcloud3d | |
A 3-D point cloud. | |
ranger | |
A range sensor. | |
camera | |
Camera imagery. | |
player | |
Player: the meta-device. | |
position3d | |
A robot that moves in 3-D. | |
blackboard | |
Access properties stored in a central repository. | |
position1d | |
A 1-D linear actuator. | |
graphics2d | |
Two-dimensional graphics interface. | |
mcom | |
Client - client communication. | |
wifi | |
WiFi signal information. | |
graphics3d | |
Three-dimensional graphics interface. | |
planner | |
A planar path-planner. | |
vectormap | |
Access and update geometric features in a map. | |
audio | |
Interface to an audio system. | |
gripper | |
Gripper interface. | |
aio | |
Analog I/O. | |
laser | |
Laser range-finder. | |
blobfinder | |
A visual blob-detection system. | |
dio | |
Digital I/O. | |
actarray | |
An array of actuators. | |
ir | |
Array of infrared rangers. | |
blinkenlight | |
An indicator light. | |
fiducial | |
Fiducial (marker) detection. | |
map | |
Access maps. | |
wsn | |
Wireless Sensor Networks. | |
health | |
Statgrab - System Infos. | |
ptz | |
Pan-tilt-zoom unit. | |
sonar | |
Array of ultrasonic rangers. | |
simulation | |
A robot simulator. | |
log | |
Log read / write control. | |
limb | |
A multi-jointed limb. | |
gps | |
Global positioning system. | |
power | |
Power system. | |
position2d | |
Planar mobile robot. | |
bumper | |
An array of bumpers. | |
rfid | |
RFID reader. | |
opaque | |
A generic interface for user-defined messages. | |
imu | |
Inertial Measurement Unit. |