|
Detailed Description
The camera interface allows clients to read images from a simulated camera. This interface gives the view of the world as the camera would see it.
Images are in packed RGB888 format.
Define Documentation
| #define GAZEBO_CAMERA_MAX_IMAGE_SIZE 320 * 240 * 3 |
|
|
|
Maximum image pixels (width x height).
|
Typedef Documentation
Function Documentation
| 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 |
|
) |
|
|
|
|
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).
|
| int gz_camera_lock |
( |
gz_camera_t * |
self, |
|
|
int |
blocking |
|
) |
|
|
|
|
Lock the interface. Set blocking to 1 if the caller should block until the lock is acquired. Returns 0 if the lock is acquired. |
|
|
Tell clients that new data is available.
|
|