Home
FAQ
Player
Utilities
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

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_tgz_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

#define GAZEBO_STEREO_MAX_RGB_SIZE   640 * 480 * 3
 

Constants.

#define GAZEBO_STEREO_MAX_DISPARITY_SIZE   640 * 480
 


Typedef Documentation

typedef struct gz_stereo_data gz_stereo_data_t
 

Stereo interface data.

typedef struct gz_stereo gz_stereo_t
 

The stereo interface.


Function Documentation

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
 

For internal use only.

Create the interface (used by Gazebo server)

int gz_stereo_destroy gz_stereo_t self  ) 
 

For internal use only.

Destroy the interface (server)

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
 

Lock the interface. Set blocking to 1 if the caller should block until the lock is acquired. Returns 0 if the lock is acquired.

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.



Last updated $Date: 2004/12/21 01:49:15 $
Generated on Sun May 22 18:39:09 2005 for Gazebo by doxygen 1.4.2