aboutsummaryrefslogtreecommitdiff
path: root/behaviors/AllPixelsLeft.py
blob: b48bfc138dfae69945d73c91c7cc8d7ea04ba6eb (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)