diff options
author | rcoh <rcoh@mit.edu> | 2011-02-13 16:03:39 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2011-02-13 16:03:39 -0500 |
commit | 6e0e6869a5ee1e4963071a18f24aa4dfdd442689 (patch) | |
tree | 59dfe233e69f331afe3be9137fe5638f359e1f56 /behaviors/ModifyParam.py | |
parent | f6dd5ab92949843d2fb163e2d84f19e824a291dc (diff) |
Added a circle behavior to make circles. Added ContinuousCenterInput to do what it says. Modified
SimpleMapper a bit.
Diffstat (limited to 'behaviors/ModifyParam.py')
-rw-r--r-- | behaviors/ModifyParam.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/behaviors/ModifyParam.py b/behaviors/ModifyParam.py index 0ef3a60..ebcb98f 100644 --- a/behaviors/ModifyParam.py +++ b/behaviors/ModifyParam.py @@ -30,6 +30,8 @@ class ModifyParam(Behavior): #TODO: move elsewhere paramOp = paramOp.replace('{y}', "behaviorInput['Location'][1]") paramOp = paramOp.replace('{x}', "behaviorInput['Location'][0]") + if eval(paramOp) == None: + import pdb; pdb.set_trace() behaviorInput[paramName] = eval(paramOp) if paramType == 'Sensor': #return accordingly return (searchSet, recursiveInputs) |