sonar
[libgazebo]
Classes | |
struct | gz_sonar_data |
Sonar data interface. More... | |
struct | gz_sonar |
The sonar interface. More... | |
Defines | |
#define | GZ_SONAR_MAX_RANGES 48 |
Typedefs | |
typedef gz_sonar_data | gz_sonar_data_t |
Sonar data interface. | |
typedef gz_sonar | gz_sonar_t |
The sonar interface. | |
Functions | |
gz_sonar_t * | gz_sonar_alloc () |
Create an interface. | |
void | gz_sonar_free (gz_sonar_t *self) |
Destroy an interface. | |
int | gz_sonar_create (gz_sonar_t *self, gz_server_t *server, const char *id, const char *model_type, int model_id, int parent_model_id) |
int | gz_sonar_destroy (gz_sonar_t *self) |
int | gz_sonar_open (gz_sonar_t *self, gz_client_t *client, const char *id) |
Open an existing interface (used by Gazebo clients). | |
int | gz_sonar_close (gz_sonar_t *self) |
Close the interface (client). | |
int | gz_sonar_lock (gz_sonar_t *self, int blocking) |
void | gz_sonar_unlock (gz_sonar_t *self) |
Unlock the interface. |
Detailed Description
The sonar interface allows the positions and range values for sonars to be read.Define Documentation
|
|
Typedef Documentation
|
Sonar data interface.
|
|
The sonar interface.
|
Function Documentation
|
Create an interface.
|
|
Destroy an interface.
|
|
For internal use only. Create the interface (used by Gazebo server) |
|
For internal use only. Destroy the interface (server) |
|
Open an existing interface (used by Gazebo clients).
|
|
Close the interface (client).
|
|
Lock the interface. Set blocking to 1 if the caller should block until the lock is acquired. Returns 0 if the lock is acquired. |
|
Unlock the interface.
|