The sonar proxy provides an interface to the sonar range sensors built into robots such as the ActiveMedia Pioneer series. More...

Detailed Description

The sonar proxy provides an interface to the sonar range sensors built into robots such as the ActiveMedia Pioneer series.

Classes

struct  playerc_sonar_t
 Sonar proxy data. More...
 

Functions

PLAYERC_EXPORT playerc_sonar_tplayerc_sonar_create (playerc_client_t *client, int index)
 Create a sonar proxy. More...
 
PLAYERC_EXPORT void playerc_sonar_destroy (playerc_sonar_t *device)
 Destroy a sonar proxy. More...
 
PLAYERC_EXPORT int playerc_sonar_subscribe (playerc_sonar_t *device, int access)
 Subscribe to the sonar device. More...
 
PLAYERC_EXPORT int playerc_sonar_unsubscribe (playerc_sonar_t *device)
 Un-subscribe from the sonar device. More...
 
PLAYERC_EXPORT int playerc_sonar_get_geom (playerc_sonar_t *device)
 Get the sonar geometry. More...
 

Function Documentation

◆ playerc_sonar_create()

PLAYERC_EXPORT playerc_sonar_t* playerc_sonar_create ( playerc_client_t client,
int  index 
)

Create a sonar proxy.

◆ playerc_sonar_destroy()

PLAYERC_EXPORT void playerc_sonar_destroy ( playerc_sonar_t device)

Destroy a sonar proxy.

◆ playerc_sonar_get_geom()

PLAYERC_EXPORT int playerc_sonar_get_geom ( playerc_sonar_t device)

Get the sonar geometry.

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

◆ playerc_sonar_subscribe()

PLAYERC_EXPORT int playerc_sonar_subscribe ( playerc_sonar_t device,
int  access 
)

Subscribe to the sonar device.

◆ playerc_sonar_unsubscribe()

PLAYERC_EXPORT int playerc_sonar_unsubscribe ( playerc_sonar_t device)

Un-subscribe from the sonar device.