Module: Player
- Defined in:
- lib/ruby-player/aio.rb,
lib/ruby-player/blob.rb,
lib/ruby-player/power.rb,
lib/ruby-player/client.rb,
lib/ruby-player/common.rb,
lib/ruby-player/device.rb,
lib/ruby-player/header.rb,
lib/ruby-player/ranger.rb,
lib/ruby-player/sensor.rb,
lib/ruby-player/gripper.rb,
lib/ruby-player/version.rb,
lib/ruby-player/actarray.rb,
lib/ruby-player/actuator.rb,
lib/ruby-player/dev_addr.rb,
lib/ruby-player/constants.rb,
lib/ruby-player/position2d.rb,
lib/ruby-player/blob_finder.rb
Overview
Ruby Player - Ruby client library for Player (tools for robots)
Copyright © 2012 Aleksey Timin
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Defined Under Namespace
Modules: Common Classes: AIO, ActArray, Actuator, Blob, BlobFinder, Client, DevAddr, Device, Gripper, Header, Position2d, Power, Ranger, Sensor
Constant Summary collapse
- VERSION =
"0.6.0"
- PLAYERXDR_DEVADDR_SIZE =
16
- PLAYERXDR_MSGHDR_SIZE =
PLAYERXDR_DEVADDR_SIZE + 24
- PLAYER_MSGTYPE_DATA =
A data message. Such messages are asynchronously published from devices, and are usually used to reflect some part of the device’s
1
- PLAYER_MSGTYPE_CMD =
A command message. Such messages are asynchronously published to devices, and are usually used to change some aspect of the device’s state.
2
- PLAYER_MSGTYPE_REQ =
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).
3
- PLAYER_MSGTYPE_RESP_ACK =
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.
4
- PLAYER_MSGTYPE_SYNCH =
A synch message. @todo Deprecate this message type? */
5
- PLAYER_MSGTYPE_RESP_NACK =
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 driver does not support the request. This message will have no data in the body.
6
- PLAYER_PLAYER_REQ_DEVLIST =
The request subtypes (see player.h)
1
- PLAYER_PLAYER_REQ_DRIVERINFO =
2
- PLAYER_PLAYER_REQ_DEV =
3
- PLAYER_PLAYER_REQ_DATA =
4
- PLAYER_PLAYER_REQ_DATAMODE =
5
- PLAYER_PLAYER_REQ_DATAFREQ =
6
- PLAYER_PLAYER_REQ_AUTH =
7
- PLAYER_PLAYER_REQ_NAMESERVICE =
8
- PLAYER_PLAYER_REQ_IDENT =
9
- PLAYER_PLAYER_REQ_ADD_REPLACE_RULE =
10
- PLAYER_NULL_CODE =
/dev/null analogue
256
- PLAYER_PLAYER_CODE =
the server itself
1
- PLAYER_POWER_CODE =
power subsystem
2
- PLAYER_GRIPPER_CODE =
gripper
3
- PLAYER_POSITION2D_CODE =
device that moves
4
- PLAYER_SONAR_CODE =
Ultra-sound range-finder
5
- PLAYER_LASER_CODE =
scanning range-finder
6
- PLAYER_BLOBFINDER_CODE =
visual blobfinder
7
- PLAYER_PTZ_CODE =
pan-tilt-zoom unit
8
- PLAYER_AUDIO_CODE =
audio system
9
- PLAYER_FIDUCIAL_CODE =
fiducial detector
10
- PLAYER_SPEECH_CODE =
speech I/O
12
- PLAYER_GPS_CODE =
GPS unit
13
- PLAYER_BUMPER_CODE =
bumper array
14
- PLAYER_TRUTH_CODE =
ground-truth (Stage)
15
- PLAYER_DIO_CODE =
digital I/O
20
- PLAYER_AIO_CODE =
analog I/O
21
- PLAYER_IR_CODE =
IR array
22
- PLAYER_WIFI_CODE =
wifi card status
23
- PLAYER_WAVEFORM_CODE =
fetch raw waveforms
24
- PLAYER_LOCALIZE_CODE =
localization
25
- PLAYER_MCOM_CODE =
multicoms
26
- PLAYER_SOUND_CODE =
sound file playback
27
- PLAYER_AUDIODSP_CODE =
audio dsp I/O
28
- PLAYER_AUDIOMIXER_CODE =
audio I/O
29
- PLAYER_POSITION3D_CODE =
3-D position
30
- PLAYER_SIMULATION_CODE =
simulators
31
- PLAYER_SERVICE_ADV_CODE =
LAN advertisement
32
- PLAYER_BLINKENLIGHT_CODE =
blinking lights
33
- PLAYER_NOMAD_CODE =
Nomad robot
34
- PLAYER_CAMERA_CODE =
camera device
40
- PLAYER_MAP_CODE =
get a map
42
- PLAYER_PLANNER_CODE =
2D motion planner
44
- PLAYER_LOG_CODE =
log R/W control
45
- PLAYER_ENERGY_CODE =
energy charging
46
- PLAYER_JOYSTICK_CODE =
Joystick
49
- PLAYER_SPEECH_RECOGNITION_CODE =
speech I/O
50
- PLAYER_OPAQUE_CODE =
user-defined messages
51
- PLAYER_POSITION1D_CODE =
1-D position
52
- PLAYER_ACTARRAY_CODE =
Actuators array interface
53
- PLAYER_LIMB_CODE =
Limb interface
54
- PLAYER_GRAPHICS2D_CODE =
Graphics2D interface
55
- PLAYER_RFID_CODE =
RFID reader interface
56
- PLAYER_WSN_CODE =
WSN interface
57
- PLAYER_GRAPHICS3D_CODE =
Graphics3D interface
58
- PLAYER_HEALTH_CODE =
Statgrab Health interface
59
- PLAYER_IMU_CODE =
Inertial Measurement Unit
60
- PLAYER_POINTCLOUD3D_CODE =
3-D point cloud
61
- PLAYER_RANGER_CODE =
Generic range-finders array
62
- PLAYER_STEREO_CODE =
Stereo imagery
65
- PLAYER_OPEN_MODE =
Device access mode: open.
1
- PLAYER_CLOSE_MODE =
Device access mode: close.
2
- PLAYER_ERROR_MODE =
Device access mode: error.
3
- PLAYER_DATAMODE_PUSH =
Data delivery mode: Send data from all subscribed devices all the time (i.e. when it’s ready on the server).
1
- PLAYER_DATAMODE_PULL =
Data delivery mode: Only on request, send data from all subscribed devices. A PLAYER_MSGTYPE_SYNCH packet follows each set of data. Request should be made automatically by client libraries when they begin reading.
2
- PLAYER_MAX_MESSAGE_SIZE =
The largest possible message
8388608
- PLAYER_MAX_DRIVER_STRING_LEN =
Maximum length for a driver name
64
- PLAYER_MAX_DEVICES =
The maximum number of devices the server will support.
10
- PLAYER_MSGQUEUE_DEFAULT_MAXLEN =
Default maximum length for a message queue
32
- PLAYER_IDENT_STRLEN =
Length of string that is spit back as a banner on connection
32
- PLAYER_KEYLEN =
Length of authentication
32
- PLAYER_MAX_REQREP_SIZE =
Maximum size for request/reply. this is a convenience so that the PlayerQueue can used fixed size elements.
4096
- PLAYER_ACTARRAY_REQ_POWER =
Interface-specific constants
1
- PLAYER_ACTARRAY_REQ_BRAKES =
2
- PLAYER_ACTARRAY_REQ_GET_GEOM =
3
- PLAYER_ACTARRAY_REQ_SPEED =
4
- PLAYER_ACTARRAY_REQ_ACCEL =
5
- PLAYER_ACTARRAY_CMD_POS =
1
- PLAYER_ACTARRAY_CMD_MULTI_POS =
2
- PLAYER_ACTARRAY_CMD_SPEED =
3
- PLAYER_ACTARRAY_CMD_MULTI_SPEED =
4
- PLAYER_ACTARRAY_CMD_HOME =
5
- PLAYER_ACTARRAY_CMD_CURRENT =
6
- PLAYER_ACTARRAY_CMD_MULTI_CURRENT =
7
- PLAYER_ACTARRAY_DATA_STATE =
1
- PLAYER_ACTARRAY_ACTSTATE_IDLE =
1
- PLAYER_ACTARRAY_ACTSTATE_MOVING =
2
- PLAYER_ACTARRAY_ACTSTATE_BRAKED =
5
- PLAYER_ACTARRAY_ACTSTATE_STALLED =
8
- PLAYER_ACTARRAY_TYPE_LINEAR =
1
- PLAYER_ACTARRAY_TYPE_ROTARY =
2
- PLAYER_AIO_MAX_INPUTS =
8
- PLAYER_AIO_MAX_OUTPUTS =
8
- PLAYER_AIO_CMD_STATE =
1
- PLAYER_AIO_DATA_STATE =
1
- PLAYER_AUDIO_STATE_STOPPED =
Driver states
0x00
- PLAYER_AUDIO_STATE_PLAYING =
0x01
- PLAYER_AUDIO_STATE_RECORDING =
0x02
- PLAYER_AUDIO_DESCRIPTION_BITS =
Raw Audio bit flags
0xFF
- PLAYER_AUDIO_BITS =
0x03
- PLAYER_AUDIO_8BIT =
8 bit
0
- PLAYER_AUDIO_16BIT =
16 bit
1
- PLAYER_AUDIO_24BIT =
24 bit
2
- PLAYER_AUDIO_MONO =
Mono
0
- PLAYER_AUDIO_STEREO =
Stereo
4
- PLAYER_AUDIO_FREQ =
Frequency
18
- PLAYER_AUDIO_FREQ_44k =
0
- PLAYER_AUDIO_FREQ_11k =
8
- PLAYER_AUDIO_FREQ_22k =
16
- PLAYER_AUDIO_FREQ_48k =
24
- PLAYER_AUDIO_FORMAT_BITS =
AUDIO format */
0xFF00
- PLAYER_AUDIO_FORMAT_NULL =
0x0000
- PLAYER_AUDIO_FORMAT_RAW =
0x0100
- PLAYER_AUDIO_FORMAT_MP3 =
0x0200
- PLAYER_AUDIO_FORMAT_OGG =
0x0300
- PLAYER_AUDIO_FORMAT_FLAC =
0x0400
- PLAYER_AUDIO_FORMAT_AAC =
0x0500
- PLAYER_AUDIO_DATA_WAV_REC =
1
- PLAYER_AUDIO_DATA_SEQ =
2
- PLAYER_AUDIO_DATA_MIXER_CHANNEL =
3
- PLAYER_AUDIO_DATA_STATE =
4
- PLAYER_AUDIO_CMD_WAV_PLAY =
1
- PLAYER_AUDIO_CMD_WAV_STREAM_REC =
2
- PLAYER_AUDIO_CMD_SAMPLE_PLAY =
3
- PLAYER_AUDIO_CMD_SEQ_PLAY =
4
- PLAYER_AUDIO_CMD_MIXER_CHANNEL =
5
- PLAYER_AUDIO_REQ_WAV_REC =
1
- PLAYER_AUDIO_REQ_SAMPLE_LOAD =
2
- PLAYER_AUDIO_REQ_SAMPLE_RETRIEVE =
3
- PLAYER_AUDIO_REQ_SAMPLE_REC =
4
- PLAYER_AUDIO_REQ_MIXER_CHANNEL_LIST =
5
- PLAYER_AUDIO_REQ_MIXER_CHANNEL_LEVEL =
6
- PLAYER_AUDIO_DATA_BUFFER_SIZE =
20
- PLAYER_AUDIO_COMMAND_BUFFER_SIZE =
6
- PLAYER_AUDIO_PAIRS =
5
- PLAYER_AUDIODSP_MAX_FREQS =
8
- PLAYER_AUDIODSP_MAX_BITSTRING_LEN =
64
- PLAYER_AUDIODSP_SET_CONFIG =
1
- PLAYER_AUDIODSP_GET_CONFIG =
2
- PLAYER_AUDIODSP_PLAY_TONE =
1
- PLAYER_AUDIODSP_PLAY_CHIRP =
2
- PLAYER_AUDIODSP_REPLAY =
3
- PLAYER_AUDIODSP_DATA_TONES =
1
- PLAYER_AUDIOMIXER_SET_MASTER =
1
- PLAYER_AUDIOMIXER_SET_PCM =
2
- PLAYER_AUDIOMIXER_SET_LINE =
3
- PLAYER_AUDIOMIXER_SET_MIC =
4
- PLAYER_AUDIOMIXER_SET_IGAIN =
5
- PLAYER_AUDIOMIXER_SET_OGAIN =
6
- PLAYER_AUDIOMIXER_GET_LEVELS =
1
- PLAYER_WAVEFORM_DATA_MAX =
4096
- PLAYER_WAVEFORM_DATA_SAMPLE =
1
- PLAYER_SOUND_CMD_IDX =
1
- PLAYER_BLINKENLIGHT_DATA_STATE =
1
- PLAYER_BLINKENLIGHT_CMD_STATE =
1
- PLAYER_BLINKENLIGHT_CMD_POWER =
2
- PLAYER_BLINKENLIGHT_CMD_COLOR =
3
- PLAYER_BLINKENLIGHT_CMD_PERIOD =
4
- PLAYER_BLINKENLIGHT_CMD_DUTYCYCLE =
5
- PLAYER_BLOBFINDER_REQ_SET_COLOR =
1
- PLAYER_BLOBFINDER_REQ_SET_IMAGER_PARAMS =
2
- PLAYER_BLOBFINDER_REQ_GET_COLOR =
3
- PLAYER_BLOBFINDER_DATA_BLOBS =
1
- PLAYER_BUMPER_REQ_GET_GEOM =
1
- PLAYER_BUMPER_DATA_STATE =
1
- PLAYER_BUMPER_DATA_GEOM =
2
- PLAYER_CAMERA_DATA_STATE =
1
- PLAYER_CAMERA_REQ_GET_SOURCE =
1
- PLAYER_CAMERA_REQ_SET_SOURCE =
2
- PLAYER_CAMERA_REQ_GET_IMAGE =
3
- PLAYER_CAMERA_FORMAT_MONO8 =
1
- PLAYER_CAMERA_FORMAT_MONO16 =
2
- PLAYER_CAMERA_FORMAT_RGB565 =
4
- PLAYER_CAMERA_FORMAT_RGB888 =
5
- PLAYER_CAMERA_COMPRESS_RAW =
0
- PLAYER_CAMERA_COMPRESS_JPEG =
1
- PLAYER_DIO_DATA_VALUES =
1
- PLAYER_DIO_CMD_VALUES =
1
- PLAYER_ENERGY_DATA_STATE =
1
- PLAYER_ENERGY_SET_CHARGING_POLICY_REQ =
1
- PLAYER_FIDUCIAL_MAX_SAMPLES =
32
- PLAYER_FIDUCIAL_DATA_SCAN =
1
- PLAYER_FIDUCIAL_REQ_GET_GEOM =
1
- PLAYER_FIDUCIAL_REQ_GET_FOV =
2
- PLAYER_FIDUCIAL_REQ_SET_FOV =
3
- PLAYER_FIDUCIAL_REQ_GET_ID =
7
- PLAYER_FIDUCIAL_REQ_SET_ID =
8
- PLAYER_GPS_DATA_STATE =
1
- PLAYER_GRIPPER_STATE_OPEN =
1
- PLAYER_GRIPPER_STATE_CLOSED =
2
- PLAYER_GRIPPER_STATE_MOVING =
3
- PLAYER_GRIPPER_STATE_ERROR =
4
- PLAYER_GRIPPER_DATA_STATE =
1
- PLAYER_GRIPPER_REQ_GET_GEOM =
1
- PLAYER_GRIPPER_CMD_OPEN =
1
- PLAYER_GRIPPER_CMD_CLOSE =
2
- PLAYER_GRIPPER_CMD_STOP =
3
- PLAYER_GRIPPER_CMD_STORE =
4
- PLAYER_GRIPPER_CMD_RETRIEVE =
5
- PLAYER_IR_REQ_POSE =
1
- PLAYER_IR_REQ_POWER =
2
- PLAYER_IR_DATA_RANGES =
1
- PLAYER_JOYSTICK_X_AXIS =
0
- PLAYER_JOYSTICK_Y_AXIS =
1
- PLAYER_JOYSTICK_MAX_AXES =
8
- PLAYER_JOYSTICK_DATA_STATE =
1
- PLAYER_LASER_MAX_SAMPLES =
1024
- PLAYER_LASER_DATA_SCAN =
1
- PLAYER_LASER_DATA_SCANPOSE =
2
- PLAYER_LASER_REQ_GET_GEOM =
1
- PLAYER_LASER_REQ_SET_CONFIG =
2
- PLAYER_LASER_REQ_GET_CONFIG =
3
- PLAYER_LASER_REQ_POWER =
4
- PLAYER_LIMB_STATE_IDLE =
1
- PLAYER_LIMB_STATE_BRAKED =
2
- PLAYER_LIMB_STATE_MOVING =
3
- PLAYER_LIMB_STATE_OOR =
4
- PLAYER_LIMB_STATE_COLL =
5
- PLAYER_LIMB_DATA_STATE =
1
- PLAYER_LIMB_CMD_HOME =
1
- PLAYER_LIMB_CMD_STOP =
2
- PLAYER_LIMB_CMD_SETPOSE =
3
- PLAYER_LIMB_CMD_SETPOSITION =
4
- PLAYER_LIMB_CMD_VECMOVE =
5
- PLAYER_LIMB_REQ_POWER =
1
- PLAYER_LIMB_REQ_BRAKES =
2
- PLAYER_LIMB_REQ_GEOM =
3
- PLAYER_LIMB_REQ_SPEED =
4
- PLAYER_LOCALIZE_DATA_HYPOTHS =
1
- PLAYER_LOCALIZE_REQ_SET_POSE =
1
- PLAYER_LOCALIZE_REQ_GET_PARTICLES =
2
- PLAYER_LOG_TYPE_READ =
1
- PLAYER_LOG_TYPE_WRITE =
2
- PLAYER_LOG_REQ_SET_WRITE_STATE =
1
- PLAYER_LOG_REQ_SET_READ_STATE =
2
- PLAYER_LOG_REQ_GET_STATE =
3
- PLAYER_LOG_REQ_SET_READ_REWIND =
4
- PLAYER_LOG_REQ_SET_FILENAME =
5
- PLAYER_MAP_DATA_INFO =
1
- PLAYER_MAP_REQ_GET_INFO =
1
- PLAYER_MAP_REQ_GET_DATA =
2
- PLAYER_MAP_REQ_GET_VECTOR =
3
- MCOM_DATA_LEN =
128
- MCOM_DATA_BUFFER_SIZE =
0
- MCOM_N_BUFS =
10
- MCOM_CHANNEL_LEN =
8
- PLAYER_MCOM_PUSH =
0
- PLAYER_MCOM_POP =
1
- PLAYER_MCOM_READ =
2
- PLAYER_MCOM_CLEAR =
3
- PLAYER_MCOM_SET_CAPACITY =
4
- PLAYER_OPAQUE_DATA_STATE =
1
- PLAYER_OPAQUE_CMD_DATA =
1
- PLAYER_OPAQUE_REQ_DATA =
1
- PLAYER_PLANNER_DATA_STATE =
1
- PLAYER_PLANNER_CMD_GOAL =
1
- PLAYER_PLANNER_REQ_GET_WAYPOINTS =
1
- PLAYER_PLANNER_REQ_ENABLE =
2
- PLAYER_POSITION1D_REQ_GET_GEOM =
1
- PLAYER_POSITION1D_REQ_MOTOR_POWER =
2
- PLAYER_POSITION1D_REQ_VELOCITY_MODE =
3
- PLAYER_POSITION1D_REQ_POSITION_MODE =
4
- PLAYER_POSITION1D_REQ_SET_ODOM =
5
- PLAYER_POSITION1D_REQ_RESET_ODOM =
6
- PLAYER_POSITION1D_REQ_SPEED_PID =
7
- PLAYER_POSITION1D_REQ_POSITION_PID =
8
- PLAYER_POSITION1D_REQ_SPEED_PROF =
9
- PLAYER_POSITION1D_DATA_STATE =
1
- PLAYER_POSITION1D_DATA_GEOM =
2
- PLAYER_POSITION1D_CMD_VEL =
1
- PLAYER_POSITION1D_CMD_POS =
2
- PLAYER_POSITION1D_STATUS_LIMIT_MIN =
Status byte: limit min
0
- PLAYER_POSITION1D_STATUS_LIMIT_CEN =
Status byte: limit center
1
- PLAYER_POSITION1D_STATUS_LIMIT_MAX =
Status byte: limit max
2
- PLAYER_POSITION1D_STATUS_OC =
Status byte: limit over current
3
- PLAYER_POSITION1D_STATUS_TRAJ_COMPLETE =
Status byte: limit trajectory complete
4
- PLAYER_POSITION1D_STATUS_ENABLED =
Status byte: enabled
5
- PLAYER_POSITION2D_REQ_GET_GEOM =
1
- PLAYER_POSITION2D_REQ_MOTOR_POWER =
2
- PLAYER_POSITION2D_REQ_VELOCITY_MODE =
3
- PLAYER_POSITION2D_REQ_POSITION_MODE =
4
- PLAYER_POSITION2D_REQ_SET_ODOM =
5
- PLAYER_POSITION2D_REQ_RESET_ODOM =
6
- PLAYER_POSITION2D_REQ_SPEED_PID =
7
- PLAYER_POSITION2D_REQ_POSITION_PID =
8
- PLAYER_POSITION2D_REQ_SPEED_PROF =
9
- PLAYER_POSITION2D_DATA_STATE =
1
- PLAYER_POSITION2D_DATA_GEOM =
2
- PLAYER_POSITION2D_CMD_VEL =
1
- PLAYER_POSITION2D_CMD_POS =
2
- PLAYER_POSITION2D_CMD_CAR =
3
- PLAYER_POSITION2D_CMD_VEL_HEAD =
4
- PLAYER_POSITION3D_DATA_STATE =
1
- PLAYER_POSITION3D_DATA_GEOMETRY =
2
- PLAYER_POSITION3D_CMD_SET_VEL =
1
- PLAYER_POSITION3D_CMD_SET_POS =
2
- PLAYER_POSITION3D_GET_GEOM =
1
- PLAYER_POSITION3D_MOTOR_POWER =
2
- PLAYER_POSITION3D_VELOCITY_MODE =
3
- PLAYER_POSITION3D_POSITION_MODE =
4
- PLAYER_POSITION3D_RESET_ODOM =
5
- PLAYER_POSITION3D_SET_ODOM =
6
- PLAYER_POSITION3D_SPEED_PID =
7
- PLAYER_POSITION3D_POSITION_PID =
8
- PLAYER_POSITION3D_SPEED_PROF =
9
- PLAYER_POWER_DATA_STATE =
1
- PLAYER_POWER_REQ_SET_CHARGING_POLICY =
1
- PLAYER_POWER_MASK_VOLTS =
1
- PLAYER_POWER_MASK_WATTS =
2
- PLAYER_POWER_MASK_JOULES =
4
- PLAYER_POWER_MASK_PERCENT =
8
- PLAYER_POWER_MASK_CHARGING =
16
- PLAYER_PTZ_MAX_CONFIG_LEN =
32
- PLAYER_PTZ_VELOCITY_CONTROL =
0
- PLAYER_PTZ_POSITION_CONTROL =
1
- PLAYER_PTZ_REQ_GENERIC =
1
- PLAYER_PTZ_REQ_CONTROL_MODE =
2
- PLAYER_PTZ_REQ_GEOM =
4
- PLAYER_PTZ_REQ_STATUS =
5
- PLAYER_PTZ_DATA_STATE =
1
- PLAYER_PTZ_DATA_GEOM =
2
- PLAYER_PTZ_CMD_STATE =
1
- PLAYER_RANGER_REQ_GET_GEOM =
1
- PLAYER_RANGER_REQ_POWER =
2
- PLAYER_RANGER_REQ_INTNS =
3
- PLAYER_RANGER_REQ_SET_CONFIG =
4
- PLAYER_RANGER_REQ_GET_CONFIG =
5
- PLAYER_RANGER_DATA_RANGE =
1
- PLAYER_RANGER_DATA_RANGESTAMPED =
2
- PLAYER_RANGER_DATA_INTNS =
3
- PLAYER_RANGER_DATA_INTNSSTAMPED =
4
- PLAYER_RANGER_DATA_GEOM =
5
- PLAYER_SIMULATION_IDENTIFIER_MAXLEN =
64
- PLAYER_SIMULATION_PROP_VALUE_MAXLEN =
64
- PLAYER_SIMULATION_REQ_GET_POSE2D =
1
- PLAYER_SIMULATION_REQ_SET_POSE2D =
2
- PLAYER_SIMULATION_REQ_GET_POSE3D =
3
- PLAYER_SIMULATION_REQ_SET_POSE3D =
4
- PLAYER_SIMULATION_REQ_GET_PROPERTY =
5
- PLAYER_SIMULATION_REQ_SET_PROPERTY =
6
- PLAYER_SIMULATION_CMD_PAUSE =
1
- PLAYER_SIMULATION_CMD_RESET =
2
- PLAYER_SIMULATION_CMD_SAVE =
3
- PLAYER_SONAR_REQ_GET_GEOM =
1
- PLAYER_SONAR_REQ_POWER =
2
- PLAYER_SONAR_DATA_RANGES =
1
- PLAYER_SONAR_DATA_GEOM =
2
- PLAYER_SPEECH_MAX_STRING_LEN =
256
- PLAYER_SPEECH_CMD_SAY =
1
- SPEECH_RECOGNITION_TEXT_LEN =
256
- SPEECH_RECOGNITION_DATA_STRING =
1
- PLAYER_STEREO_DATA_STATE =
1
- PLAYER_TRUTH_DATA_POSE =
0x01
- PLAYER_TRUTH_DATA_FIDUCIAL_ID =
0x02
- PLAYER_TRUTH_REQ_SET_POSE =
0x03
- PLAYER_TRUTH_REQ_SET_FIDUCIAL_ID =
0x04
- PLAYER_TRUTH_REQ_GET_FIDUCIAL_ID =
0x05
- PLAYER_WIFI_MAX_LINKS =
32
- PLAYER_WIFI_QUAL_DBM =
1
- PLAYER_WIFI_QUAL_REL =
2
- PLAYER_WIFI_QUAL_UNKNOWN =
3
- PLAYER_WIFI_MODE_UNKNOWN =
0
- PLAYER_WIFI_MODE_AUTO =
1
- PLAYER_WIFI_MODE_ADHOC =
2
- PLAYER_WIFI_MODE_INFRA =
3
- PLAYER_WIFI_MODE_MASTER =
4
- PLAYER_WIFI_MODE_REPEAT =
5
- PLAYER_WIFI_MODE_SECOND =
6
- PLAYER_WIFI_REQ_MAC =
1
- PLAYER_WIFI_REQ_IWSPY_ADD =
2
- PLAYER_WIFI_REQ_IWSPY_DEL =
3
- PLAYER_WIFI_REQ_IWSPY_PING =
4
- PLAYER_WIFI_DATA_STATE =
1
- PLAYER_RFID_DATA_TAGS =
1
- PLAYER_RFID_REQ_POWER =
1
- PLAYER_RFID_REQ_READTAG =
2
- PLAYER_RFID_REQ_WRITETAG =
3
- PLAYER_RFID_REQ_LOCKTAG =
4
- PLAYER_GRAPHICS2D_MAX_POINTS =
The maximum number of points that can be described in a packet
64
- PLAYER_GRAPHICS2D_CMD_CLEAR =
Command subtype: clear the drawing area (send an empty message)
1
- PLAYER_GRAPHICS2D_CMD_POINTS =
Command subtype: draw points
2
- PLAYER_GRAPHICS2D_CMD_POLYLINE =
Command subtype: draw a polyline
3
- PLAYER_GRAPHICS2D_CMD_POLYGON =
Command subtype: draw a polygon
4
- PLAYER_WSN_MAX_NODES =
The maximum number of nodes that can work together in the WSN.
100
- PLAYER_WSN_DATA_STATE =
1
- PLAYER_WSN_CMD_DEVSTATE =
1
- PLAYER_WSN_REQ_POWER =
Request/reply: put the reader in sleep mode (0) or wake it up (1).
1
- PLAYER_WSN_REQ_DATATYPE =
Request/reply: change the data type to RAW or converted engineering units
2
- PLAYER_WSN_REQ_DATAFREQ =
Request/reply: change the receiving data frequency
3
- PLAYER_GRAPHICS3D_MAX_POINTS =
The maximum number of points that can be described in a packet
1024
- PLAYER_GRAPHICS3D_CMD_CLEAR =
Command subtype: clear the drawing area (send an empty message)
1
- PLAYER_GRAPHICS2D_CMD_DRAW =
Command subtype: draw subitems
2
- PLAYER_HEALTH_DATA_STATE =
Data subtype: Health’s data packet
1
- PLAYER_IMU_DATA_STATE =
Data subtype: IMU position/orientation data
1
- PLAYER_IMU_DATA_CALIB =
Data subtype: Calibrated IMU data
2
- PLAYER_IMU_DATA_QUAT =
Data subtype: Quaternions orientation data
3
- PLAYER_IMU_DATA_EULER =
Data subtype: Euler orientation data
4
- PLAYER_IMU_DATA_FULLSTATE =
Data subtype: All the calibrated IMU data
5
- PLAYER_IMU_REQ_SET_DATATYPE =
Request/reply subtype: set data type
1
- PLAYER_IMU_REQ_RESET_ORIENTATION =
Request/reply subtype: reset orientation
2
- PLAYER_POINTCLOUD3D_MAX_POINTS =
Maximum number of points that can be included in a data packet
8192
- PLAYER_POINTCLOUD3D_DATA_STATE =
Data subtype: state
1