[Device proxies]

Collaboration diagram for bumper:

Detailed Description

The bumper proxy provides an interface to the bumper sensors built into robots such as the RWI B21R.


struct  playerc_bumper_t
 Bumper proxy data. More...


playerc_bumper_tplayerc_bumper_create (playerc_client_t *client, int index)
 Create a bumper proxy.
void playerc_bumper_destroy (playerc_bumper_t *device)
 Destroy a bumper proxy.
int playerc_bumper_subscribe (playerc_bumper_t *device, int access)
 Subscribe to the bumper device.
int playerc_bumper_unsubscribe (playerc_bumper_t *device)
 Un-subscribe from the bumper device.
int playerc_bumper_get_geom (playerc_bumper_t *device)
 Get the bumper geometry.

Function Documentation

int playerc_bumper_get_geom ( playerc_bumper_t device  ) 

Get the bumper geometry.

The writes the result into the proxy rather than returning it to the caller.

Last updated 12 September 2005 21:38:45