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

Class CameraDevice

source code

  object --+        
           |        
PlayerObject --+    
               |    
    PlayerDevice --+
                   |
                  CameraDevice

A Player camera device.

The synchronized method get_image grabs an uncompressed snapshot, along with the additional formatting information needed to make an image.

Instance Methods [hide private]
 
__init__(self, proxy, lock)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
process_queues(self) source code
 
get_image(self)
(format,width,height,bpp,fdiv,data)
source code
 
image(self)
(format,width,height,bpp,fdiv,data)
source code

Inherited from PlayerDevice: subscribe

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, proxy, lock)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

process_queues(self)

source code 
Overrides: PlayerObject.process_queues

get_image(self)

source code 
Returns the tuple:
(format,width,height,bpp,fdiv,data)

Where data is a copy of the uncompressed image data.

image(self)

source code 
Returns the tuple:
(format,width,height,bpp,fdiv,data)

Where data is a copy of the uncompressed image data.