From c581408f028d5b8ceadc53c68d7c1252fbe09e6d Mon Sep 17 00:00:00 2001 From: rcoh Date: Wed, 22 Dec 2010 14:27:33 -0500 Subject: About halfway done with support for pixel regions. Modified the component registry a bit. Added support for multiple pixel mappers (and along with that, default components). RCOH --- behaviors/BehaviorChain.py | 1 - behaviors/DebugBehavior.py | 1 - behaviors/DecayBehavior.py | 1 - behaviors/EchoBehavior.py | 1 - behaviors/ModifyParam.py | 1 - behaviors/RunningBehavior.py | 1 - 6 files changed, 6 deletions(-) (limited to 'behaviors') diff --git a/behaviors/BehaviorChain.py b/behaviors/BehaviorChain.py index 65f5c9d..98585c9 100644 --- a/behaviors/BehaviorChain.py +++ b/behaviors/BehaviorChain.py @@ -1,6 +1,5 @@ from operationscore.Behavior import * import util.ComponentRegistry as compReg -import Util import pdb class BehaviorChain(Behavior): def behaviorInit(self): diff --git a/behaviors/DebugBehavior.py b/behaviors/DebugBehavior.py index 4c8550a..a00346b 100644 --- a/behaviors/DebugBehavior.py +++ b/behaviors/DebugBehavior.py @@ -1,5 +1,4 @@ from operationscore.Behavior import * -import Util import pdb class DebugBehavior(Behavior): def processResponse(self, sensorInputs, recursiveInputs): diff --git a/behaviors/DecayBehavior.py b/behaviors/DecayBehavior.py index 56e1686..c1f6f92 100644 --- a/behaviors/DecayBehavior.py +++ b/behaviors/DecayBehavior.py @@ -1,7 +1,6 @@ from operationscore.Behavior import * from pixelevents.DecayEvent import * import util.Strings as Strings -import Util import pdb class DecayBehavior(Behavior): def processResponse(self, sensorInputs, recursiveInputs): diff --git a/behaviors/EchoBehavior.py b/behaviors/EchoBehavior.py index 002f8fb..be0ed14 100644 --- a/behaviors/EchoBehavior.py +++ b/behaviors/EchoBehavior.py @@ -1,6 +1,5 @@ from operationscore.Behavior import * import util.Strings as Strings -import Util import pdb class EchoBehavior(Behavior): def processResponse(self, sensorInputs, recursiveInputs): diff --git a/behaviors/ModifyParam.py b/behaviors/ModifyParam.py index 38b8cd5..3701013 100644 --- a/behaviors/ModifyParam.py +++ b/behaviors/ModifyParam.py @@ -1,5 +1,4 @@ from operationscore.Behavior import * -import Util import pdb #Class to perform a given operation on some element of an argDict. Designed to be used a recursive hook, but can serve sensor-based functions as well. Specify ParamType (Sensor or Recurse), ParamName, and ParamOp, (a valid python statement with the old value represented as {val}) class ModifyParam(Behavior): diff --git a/behaviors/RunningBehavior.py b/behaviors/RunningBehavior.py index 1969162..92db69b 100644 --- a/behaviors/RunningBehavior.py +++ b/behaviors/RunningBehavior.py @@ -2,7 +2,6 @@ from operationscore.Behavior import * import util.ComponentRegistry as compReg import util.Geo as Geo import pdb -import Util class RunningBehavior(Behavior): def processResponse(self, sensorInputs, recursiveInputs): newResponses = sensorInputs -- cgit v1.2.3