blob: 7f66ad684d0607fb0fc14fc63dc91114eada52bf (
plain)
1
2
3
4
5
6
7
8
9
|
from operationscore.Behavior import *
class AllPixels(Behavior):
"""Turns on all Pixels in the installation. Must use SimpleMapper, or other Mapper supporting
conditional pixel locations."""
def processResponse(self, sensorInputs, recursiveInputs):
for sensory in sensorInputs:#TODO: consider replicating the dict
sensory['Location'] = 'True'
return (sensorInputs, recursiveInputs)
|