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_tplayerc_ir_create (playerc_client_t *client, int index)
 Create a ir proxy.
 
PLAYERC_EXPORT void playerc_ir_destroy (playerc_ir_t *device)
 Destroy a ir proxy.
 
PLAYERC_EXPORT int playerc_ir_subscribe (playerc_ir_t *device, int access)
 Subscribe to the ir device.
 
PLAYERC_EXPORT int playerc_ir_unsubscribe (playerc_ir_t *device)
 Un-subscribe from the ir device.
 
PLAYERC_EXPORT int playerc_ir_get_geom (playerc_ir_t *device)
 Get the ir geometry.
 

Function Documentation

◆ 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.