ir
[Device proxies]


Detailed Description

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


Classes

struct  playerc_ir_t

Functions

playerc_ir_tplayerc_ir_create (playerc_client_t *client, int index)
void playerc_ir_destroy (playerc_ir_t *device)
int playerc_ir_subscribe (playerc_ir_t *device, int access)
int playerc_ir_unsubscribe (playerc_ir_t *device)
int playerc_ir_get_geom (playerc_ir_t *device)

Function Documentation

playerc_ir_t* playerc_ir_create ( playerc_client_t client,
int  index 
)

Create a ir proxy.

void playerc_ir_destroy ( playerc_ir_t device  ) 

Destroy a ir proxy.

int playerc_ir_get_geom ( playerc_ir_t device  ) 

Get the ir geometry.

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

int playerc_ir_subscribe ( playerc_ir_t device,
int  access 
)

Subscribe to the ir device.

int playerc_ir_unsubscribe ( playerc_ir_t device  ) 

Un-subscribe from the ir device.


Last updated 12 September 2005 21:38:45