blob: 7f731e90a0175f208aab6fa4812741d94833a6b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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]
if type(xLoc) == type(tuple()):
pdb.set_trace()
sensory['Location'] = '[{x}<' + str(xLoc) + ']'
return (sensorInputs, recursiveInputs)
|