aboutsummaryrefslogtreecommitdiff
path: root/behaviors/RestrictLocation.py
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-01-22 13:31:56 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-01-22 13:31:56 -0500
commit7f88db7003a03b50dc500bf7bd711407f1a640de (patch)
tree64c08cf2bfd6fb30ccbfc3f4a9fb2435f417abdf /behaviors/RestrictLocation.py
parenta223608dda0751551c6e8688c0c0e1c9a1d4e69c (diff)
Bouncing behavior. Working out a weird bug. Threading may be involved?
Diffstat (limited to 'behaviors/RestrictLocation.py')
-rw-r--r--behaviors/RestrictLocation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/behaviors/RestrictLocation.py b/behaviors/RestrictLocation.py
index febc9ed..f6c26ff 100644
--- a/behaviors/RestrictLocation.py
+++ b/behaviors/RestrictLocation.py
@@ -25,7 +25,7 @@ class RestrictLocation(Behavior):
def processResponse(self, sensorInputs, recursiveInputs):
ret = []
for data in sensorInputs:
- if not self.locEval(data['Location']):
+ if self.locEval(data['Location']):
(dataOut, recur) = self.paramModifier.immediateProcessInput([data], [])
#behaviors expect lists ^[]
ret += dataOut