|
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
position |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data.
The |
|
Command.
The |
|
Configuration request: Query geometry. To request robot geometry, set the subtype to PLAYER_POSITION_GET_GEOM_REQ and leave the other fields empty. The server will reply with the pose and size fields filled in. |
|
Configuratoin request: Motor power.
On some robots, the motor power can be turned on and off from software. To do so, send a request with the format given below, and with the appropriate Be VERY careful with this command! You are very likely to start the robot running across the room at high speed with the battery charger still attached. |
|
Configuration request: Change velocity control.
Some robots offer different velocity control modes. It can be changed by sending a request with the format given below, including the appropriate mode. No matter which mode is used, the external client interface to the The p2os driver offers two modes of velocity control: separate translational and rotational control and direct wheel control. When in the separate mode, the robot's microcontroller internally computes left and right wheel velocities based on the currently commanded translational and rotational velocities and then attenuates these values to match a nice predefined acceleration profile. When in the direct mode, the microcontroller simply passes on the current left and right wheel velocities. Essentially, the separate mode offers smoother but slower (lower acceleration) control, and the direct mode offers faster but jerkier (higher acceleration) control. Player's default is to use the direct mode. Set mode to zero for direct control and non-zero for separate control. For the reb driver, 0 is direct velocity control, 1 is for velocity-based heading PD controller. |
|
Configuration request: Reset odometry. To reset the robot's odometry to , use the following request. The server will reply with a zero-length acknowledgement. |
|
Configuration request: Change control mode.
|
|
Configuration request: Set odometry. To set the robot's odometry to a particular state, use this request: |
|
Configuration request: Set velocity PID parameters.
|
|
Configuration request: Set position PID parameters.
|
|
Configuration request: Set speed profile parameters.
|
|
Configuration request: Segway RMP-specific configuration.
|