| Trees | Indices | Help |
|
|---|
|
|
High-level interface to the Player client libraries.
The Player client libraries allow Python code to communicate with hardware devices such as robots, cameras, and range sensors.
This is a temporary home for this file until it finds a permanent home (maybe in the PlayerStage project or in PLASTK?)
$Id: playerrobot.py 8356 2008-04-11 19:51:05Z jprovost $
Version: $Revision: 8356 $
|
|||
| PlayerException | |||
|
PlayerObject A generic threadsafe wrapper for client and proxy objects from the playerc library. |
|||
|
PlayerClient Player object wrapper for playerc.client objects. |
|||
|
PlayerDevice Generic Player device object. |
|||
|
PTZDevice Player Pan/Tilt/Zoom (PTZ) device. |
|||
|
CameraDevice A Player camera device. |
|||
|
PlayerRobot Player Robot interface. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
device_table = {'ptz': PTZDevice, 'camera': CameraDevice,}
|
|||
|
|||
|
|
Player function decorator. Adds error checking. Takes an operator and a value, and compares the result of the function call with the value using the operator. If the result is true, a PlayerException is raised. The default error condition is error_op = ne, error_value = 0, which raises an exception if fn(*args) != 0. |
Simple synchronization decorator. Takes an existing lock and synchronizes a function or method on that lock. Code taken from the Python Wiki PythonDecoratorLibrary: http://wiki.python.org/moin/PythonDecoratorLibrary |
Synchronized method decorator. Like synchronized() decorator, except synched_method assumes that the first argument of the function is an instance containing a Lock object, and this lock is used for synchronization. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:19 2010 | http://epydoc.sourceforge.net |