blob: e1f40804e33daab72666d692fe2f9ff49e9f8123 (
plain)
1
2
3
4
5
6
7
8
9
|
from operationscore.Behavior import *
import util.ComponentRegistry as compReg
import pdb
class AllPixelsLeft(Behavior):
def processResponse(self, sensorInputs, recursiveInputs):
for sensory in sensorInputs:
xLoc = sensory['Location'][0]
sensory['Location'] = '[{x}<' + str(xLoc) + ']'
return (sensorInputs, recursiveInputs)
|