aboutsummaryrefslogtreecommitdiff
path: root/operationscore
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-01-24 22:44:16 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-01-24 22:44:16 -0500
commit2019fb2895237aa9d86450daaf6d90831189fc13 (patch)
tree6dd9de45c5c2994c0a6aad2aa808092abb8f99bd /operationscore
parent39de2bc415e6dc02c68018655962197a38207718 (diff)
Some new stuff. Fixed a bug where screen responses weren't being synchronized. Now they are.
Added XYMove to do a bouncy behavior.
Diffstat (limited to 'operationscore')
-rw-r--r--operationscore/Behavior.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/operationscore/Behavior.py b/operationscore/Behavior.py
index 882a290..b3f7342 100644
--- a/operationscore/Behavior.py
+++ b/operationscore/Behavior.py
@@ -9,6 +9,7 @@
import pdb
from operationscore.SmootCoreObject import *
+from logger import main_log
#timeStep is called on every iteration of the LightInstallation
#addInput is called on each individual input received, and the inputs queue
class Behavior(SmootCoreObject):
@@ -56,4 +57,5 @@ class Behavior(SmootCoreObject):
self.recursiveResponseQueue)
self.sensorResponseQueue = []
self.recursiveResponseQueue = recursions
+ main_log.debug(self['Id'] + ' Ouputs ' + str(outputs))
return self.addMapperToResponse(outputs)