1
# $Id: SCA_PythonController.py,v 1.3 2004/06/02 12:43:27 kester Exp $
2
# Documentation for SCA_PythonController
3
from SCA_IController import *
5
class SCA_PythonController(SCA_IController):
7
A Python controller uses a Python script to activate it's actuators,
13
Gets a list of all sensors attached to this controller.
15
@rtype: list [L{SCA_ISensor}]
19
Gets the named linked sensor.
22
@rtype: L{SCA_ISensor}
26
Gets a list of all actuators linked to this controller.
28
@rtype: list [L{SCA_IActuator}]
30
def getActuator(name):
32
Gets the named linked actuator.
35
@rtype: L{SCA_IActuator}
39
Gets the Python script this controller executes.
43
def setScript(script):
45
Sets the Python script this controller executes.