stereo
[libgazebo]
Classes | |
struct | gz_stereo_data |
Stereo interface data. More... | |
struct | gz_stereo |
The stereo interface. More... | |
Defines | |
#define | GAZEBO_STEREO_MAX_RGB_SIZE 640 * 480 * 3 |
Constants. | |
#define | GAZEBO_STEREO_MAX_DISPARITY_SIZE 640 * 480 |
Typedefs | |
typedef gz_stereo_data | gz_stereo_data_t |
Stereo interface data. | |
typedef gz_stereo | gz_stereo_t |
The stereo interface. | |
Functions | |
gz_stereo_t * | gz_stereo_alloc () |
Create an interface. | |
void | gz_stereo_free (gz_stereo_t *self) |
Destroy an interface. | |
int | gz_stereo_create (gz_stereo_t *self, gz_server_t *server, const char *id, const char *model_type, int model_id, int parent_model_id) |
int | gz_stereo_destroy (gz_stereo_t *self) |
int | gz_stereo_open (gz_stereo_t *self, gz_client_t *client, const char *id) |
Open an existing interface (used by Gazebo clients). | |
int | gz_stereo_close (gz_stereo_t *self) |
Close the interface (client). | |
int | gz_stereo_lock (gz_stereo_t *self, int blocking) |
void | gz_stereo_unlock (gz_stereo_t *self) |
Unlock the interface. | |
int | gz_stereo_post (gz_stereo_t *self) |
Tell clients that new data is available. |
Detailed Description
The stereo interface allows clients to read images from a simulated stereo cameras. It provides regular camera images and simulated depth images (the latter may include occlusion and texture effects).Define Documentation
|
Constants.
|
|
|
Typedef Documentation
|
Stereo interface data.
|
|
The stereo 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.
|
|
Tell clients that new data is available.
|