ir
[Device proxies]
The ir proxy provides an interface to the ir sensors built into robots such as the RWI B21R.
More...
Classes | |
struct | playerc_ir_t |
Ir proxy data. More... | |
Functions | |
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_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. | |
int | playerc_ir_get_geom (playerc_ir_t *device) |
Get the ir geometry. |
Detailed Description
The ir proxy provides an interface to the ir sensors built into robots such as the RWI B21R.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.