|
camera |
Classes | |
struct | gz_camera_data |
Camera interface data. More... | |
struct | gz_camera |
The camera interface. More... | |
Defines | |
#define | GAZEBO_CAMERA_MAX_IMAGE_SIZE 320 * 240 * 3 |
Maximum image pixels (width x height). | |
Typedefs | |
typedef gz_camera_data | gz_camera_data_t |
Camera interface data. | |
typedef gz_camera | gz_camera_t |
The camera interface. | |
Functions | |
gz_camera_t * | gz_camera_alloc () |
Create an interface. | |
void | gz_camera_free (gz_camera_t *self) |
Destroy an interface. | |
int | gz_camera_create (gz_camera_t *self, gz_server_t *server, const char *id, const char *model_type, int model_id, int parent_model_id) |
int | gz_camera_destroy (gz_camera_t *self) |
int | gz_camera_open (gz_camera_t *self, gz_client_t *client, const char *id) |
Open an existing interface (used by Gazebo clients). | |
int | gz_camera_close (gz_camera_t *self) |
Close the interface (client). | |
int | gz_camera_lock (gz_camera_t *self, int blocking) |
void | gz_camera_unlock (gz_camera_t *self) |
Unlock the interface. | |
int | gz_camera_post (gz_camera_t *self) |
Tell clients that new data is available. |
Images are in packed RGB888 format.
|
Maximum image pixels (width x height).
|
|
Camera interface data.
|
|
The camera interface.
|
|
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.
|