From b335b746523ffd59db1402b097a802b3fd99eaac Mon Sep 17 00:00:00 2001 From: rcoh Date: Wed, 8 Dec 2010 16:39:50 -0500 Subject: Code for the demo. Everything works afaik. Contains a couple more optimizations. Contains modify param behavior. Improved support for recursive hooks. Modifications to SmootCoreObject to get us closer to a fully multi-threaded system. This should be the last commit directly to master. All further commits should be on subranches and get merged. --- operationscore/Behavior.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'operationscore/Behavior.py') diff --git a/operationscore/Behavior.py b/operationscore/Behavior.py index 83d2e7d..3bdf1ec 100644 --- a/operationscore/Behavior.py +++ b/operationscore/Behavior.py @@ -41,7 +41,7 @@ class Behavior(SmootCoreObject): [self.addInput(sensorInput) for sensorInput in sensorInputs] else: self.addInput(sensorInputs) - def timeStep(self): + def timeStep(self): #TODO: type checking. clean this up responses = self.processResponse(self.sensorResponseQueue, \ self.recursiveResponseQueue) if type(responses) == type(tuple()) and len(responses) == 2: -- cgit v1.2.3