Package topo :: Package misc :: Module playerrobot :: Class PTZDevice
[hide private]
[frames] | no frames]

Class PTZDevice

source code

  object --+        
           |        
PlayerObject --+    
               |    
    PlayerDevice --+
                   |
                  PTZDevice

Player Pan/Tilt/Zoom (PTZ) device.

Adds the following to the original proxy interface:

state = The tuple (pan,tilt,zoom) indicating the current state of the PTZ device.

state_deg = Same as state, but returns values in degrees instead of radians

set_deg() and set_ws_deg() methods. Same as .set() and .set_ws(), using degrees instead of radians.

Instance Methods [hide private]
 
get_state(self) source code
 
state(self) source code
 
get_state_deg(self) source code
 
state_deg(self) source code
 
set_deg(self, pan, tilt, zoom) source code
 
set_ws_deg(self, pan, tilt, zoom, pan_speed, tilt_speed) source code

Inherited from PlayerDevice: subscribe

Inherited from PlayerObject: __init__, process_queues

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__