Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

ptz
[Proxies]


Detailed Description

The ptz proxy provides an interface to pan-tilt units such as the Sony PTZ camera.


Classes

struct  playerc_ptz_t
 PTZ device data. More...


Functions

playerc_ptz_tplayerc_ptz_create (playerc_client_t *client, int index)
 Create a ptz proxy.

void playerc_ptz_destroy (playerc_ptz_t *device)
 Destroy a ptz proxy.

int playerc_ptz_subscribe (playerc_ptz_t *device, int access)
 Subscribe to the ptz device.

int playerc_ptz_unsubscribe (playerc_ptz_t *device)
 Un-subscribe from the ptz device.

int playerc_ptz_set (playerc_ptz_t *device, double pan, double tilt, double zoom)
 Set the pan, tilt and zoom values.

int playerc_ptz_set_ws (playerc_ptz_t *device, double pan, double tilt, double zoom, double panspeed, double tiltspeed)
 Set the pan, tilt and zoom values (and speed).


Function Documentation

playerc_ptz_t* playerc_ptz_create playerc_client_t client,
int  index
 

Create a ptz proxy.

void playerc_ptz_destroy playerc_ptz_t device  ) 
 

Destroy a ptz proxy.

int playerc_ptz_subscribe playerc_ptz_t device,
int  access
 

Subscribe to the ptz device.

int playerc_ptz_unsubscribe playerc_ptz_t device  ) 
 

Un-subscribe from the ptz device.

int playerc_ptz_set playerc_ptz_t device,
double  pan,
double  tilt,
double  zoom
 

Set the pan, tilt and zoom values.

Parameters:
device Pointer to proxy object.
pan Pan value, in radians; 0 = centered.
tilt Tilt value, in radians; 0 = level.
zoom Zoom value, in radians (corresponds to camera field of view).

int playerc_ptz_set_ws playerc_ptz_t device,
double  pan,
double  tilt,
double  zoom,
double  panspeed,
double  tiltspeed
 

Set the pan, tilt and zoom values (and speed).

Parameters:
device Pointer to proxy object.
pan Pan value, in radians; 0 = centered.
tilt Tilt value, in radians; 0 = level.
zoom Zoom value, in radians (corresponds to camera field of view).
panspeed Pan speed, in radians/sec.
tiltspeed Tilt speed, in radians/sec.


Generated on Tue May 3 14:16:14 2005 for Player by doxygen 1.3.6