1 from operationscore.Behavior import *
2 import util.ComponentRegistry as compReg
3 import util.Strings as Strings
4
8
10 if self.mapper == None:
11 try:
12 self.mapper = compReg.getComponent('mobilegaussmap')
13 except KeyError:
14 pass
15
16
17 for sInput in sensorInputs:
18 if 'Shake' in sInput and sInput['Shake'] == 1:
19
20 self.mapper.argDict['Width'] += 30
21
22 sInput['Shake'] = 0
23 print 'Width:' + str(compReg.getComponent('mobilegaussmap').argDict['Width'])
24
25
26 return (sensorInputs, recursiveInputs)
27