gripper
[Device proxies]
Collaboration diagram for gripper:
Detailed Description
The gripper proxy provides an interface to the gripper.
Classes | |
struct | playerc_gripper_t |
Gripper device data. More... | |
Functions | |
playerc_gripper_t * | playerc_gripper_create (playerc_client_t *client, int index) |
Create a gripper device proxy. | |
void | playerc_gripper_destroy (playerc_gripper_t *device) |
Destroy a gripper device proxy. | |
int | playerc_gripper_subscribe (playerc_gripper_t *device, int access) |
Subscribe to the gripper device. | |
int | playerc_gripper_unsubscribe (playerc_gripper_t *device) |
Un-subscribe from the gripper device. | |
int | playerc_gripper_open_cmd (playerc_gripper_t *device) |
Command the gripper to open. | |
int | playerc_gripper_close_cmd (playerc_gripper_t *device) |
Command the gripper to close. | |
int | playerc_gripper_stop_cmd (playerc_gripper_t *device) |
Command the gripper to stop. | |
int | playerc_gripper_store_cmd (playerc_gripper_t *device) |
Command the gripper to store. | |
int | playerc_gripper_retrieve_cmd (playerc_gripper_t *device) |
Command the gripper to retrieve. | |
void | playerc_gripper_printout (playerc_gripper_t *device, const char *prefix) |
Print a human-readable version of the gripper state. | |
int | playerc_gripper_get_geom (playerc_gripper_t *device) |
Get the gripper geometry. |
Function Documentation
int playerc_gripper_get_geom | ( | playerc_gripper_t * | device | ) |
Get the gripper geometry.
This writes the result into the proxy rather than returning it to the caller.
void playerc_gripper_printout | ( | playerc_gripper_t * | device, | |
const char * | prefix | |||
) |
Print a human-readable version of the gripper state.
If set, the string <prefix> is printed before the state string.