|
Detailed Description
- Deprecated:
- Todo:
- Remove position2d
The position2d proxy provides an interface to a mobile robot base, such as the ActiveMedia Pioneer series. The proxy supports both differential drive robots (which are capable of forward motion and rotation) and omni-drive robots (which are capable of forward, sideways and rotational motion).
|
Classes |
struct | playerc_position2d_t |
Functions |
playerc_position2d_t * | playerc_position2d_create (playerc_client_t *client, int index) |
void | playerc_position2d_destroy (playerc_position2d_t *device) |
int | playerc_position2d_subscribe (playerc_position2d_t *device, int access) |
int | playerc_position2d_unsubscribe (playerc_position2d_t *device) |
int | playerc_position2d_enable (playerc_position2d_t *device, int enable) |
int | playerc_position2d_get_geom (playerc_position2d_t *device) |
int | playerc_position2d_set_cmd_vel (playerc_position2d_t *device, double vx, double vy, double va, int state) |
int | playerc_position2d_set_cmd_pose (playerc_position2d_t *device, double gx, double gy, double ga, int state) |
Function Documentation
|
Create a position2d device proxy. |
|
Destroy a position2d device proxy. |
|
Subscribe to the position2d device |
|
Un-subscribe from the position2d device |
|
Enable/disable the motors |
|
Get the position2d geometry. The writes the result into the proxy rather than returning it to the caller. |
int playerc_position2d_set_cmd_vel |
( |
playerc_position2d_t * |
device, |
|
|
double |
vx, |
|
|
double |
vy, |
|
|
double |
va, |
|
|
int |
state |
|
) |
|
|
|
Set the target speed. vx : forward speed (m/s). vy : sideways speed (m/s); this field is used by omni-drive robots only. va : rotational speed (rad/s). All speeds are defined in the robot coordinate system. |
int playerc_position2d_set_cmd_pose |
( |
playerc_position2d_t * |
device, |
|
|
double |
gx, |
|
|
double |
gy, |
|
|
double |
ga, |
|
|
int |
state |
|
) |
|
|
|
Set the target pose (gx, gy, ga) is the target pose in the odometric coordinate system. |
Generated on Tue May 3 14:16:14 2005 for Player by 1.3.6
|