gripper
[Device proxies]
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_set_cmd (playerc_gripper_t *device, uint8_t cmd, uint8_t arg) |
Send the gripper a command. | |
void | playerc_gripper_printout (playerc_gripper_t *device, const char *prefix) |
Print a human-readable version of the gripper state. |
Function Documentation
|
Print a human-readable version of the gripper state. If set, the string <prefix> is printed before the state string. |