diff options
author | rcoh <rcoh@mit.edu> | 2011-01-24 22:44:16 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2011-01-24 22:44:16 -0500 |
commit | 2019fb2895237aa9d86450daaf6d90831189fc13 (patch) | |
tree | 6dd9de45c5c2994c0a6aad2aa808092abb8f99bd /behaviors/AllPixels.py | |
parent | 39de2bc415e6dc02c68018655962197a38207718 (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 'behaviors/AllPixels.py')
-rw-r--r-- | behaviors/AllPixels.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/behaviors/AllPixels.py b/behaviors/AllPixels.py new file mode 100644 index 0000000..e155e55 --- /dev/null +++ b/behaviors/AllPixels.py @@ -0,0 +1,6 @@ +from operationscore.Behavior import * +class AllPixels(Behavior): + def processResponse(self, sensorInputs, recursiveInputs): + for sensory in sensorInputs:#TODO: consider replicating the dict + sensory['Location'] = 'True' + return (sensorInputs, recursiveInputs) |