The ir proxy provides an interface to the ir sensors built into robots such as the RWI B21R. More...
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 |
Ir proxy data. More... | |
Functions | |
PLAYERC_EXPORT playerc_ir_t * | playerc_ir_create (playerc_client_t *client, int index) |
Create a ir proxy. More... | |
PLAYERC_EXPORT void | playerc_ir_destroy (playerc_ir_t *device) |
Destroy a ir proxy. More... | |
PLAYERC_EXPORT int | playerc_ir_subscribe (playerc_ir_t *device, int access) |
Subscribe to the ir device. More... | |
PLAYERC_EXPORT int | playerc_ir_unsubscribe (playerc_ir_t *device) |
Un-subscribe from the ir device. More... | |
PLAYERC_EXPORT int | playerc_ir_get_geom (playerc_ir_t *device) |
Get the ir geometry. More... | |
Function Documentation
◆ playerc_ir_create()
PLAYERC_EXPORT playerc_ir_t* playerc_ir_create | ( | playerc_client_t * | client, |
int | index | ||
) |
Create a ir proxy.
◆ playerc_ir_destroy()
PLAYERC_EXPORT void playerc_ir_destroy | ( | playerc_ir_t * | device | ) |
Destroy a ir proxy.
◆ playerc_ir_get_geom()
PLAYERC_EXPORT 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.
◆ playerc_ir_subscribe()
PLAYERC_EXPORT int playerc_ir_subscribe | ( | playerc_ir_t * | device, |
int | access | ||
) |
Subscribe to the ir device.
◆ playerc_ir_unsubscribe()
PLAYERC_EXPORT int playerc_ir_unsubscribe | ( | playerc_ir_t * | device | ) |
Un-subscribe from the ir device.