Ejemplo n.º 1
0
 def proc(self, activation):
     mem = dct.get_memory_objects(
         self.root_codelet_dir,
         'behavioral-input-memories/perceptual-memory', 'inputs')
     dct.set_memory_objects(self.root_codelet_dir,
                            'motor-behavioral-memory', 'I', mem['I'],
                            'outputs')
Ejemplo n.º 2
0
 def proc(self, activation):
     mem = dct.get_memory_objects(self.root_codelet_dir,
                                  'perceptual-sensory-memory', 'outputs')
     if mem['I'] is None:
         mem['I'] = -1
     I = int(mem['I']) + 1
     dct.set_memory_objects(self.root_codelet_dir,
                            'perceptual-sensory-memory', 'I', str(I),
                            'outputs')
Ejemplo n.º 3
0
 def proc(self, activation):
     mem = dct.get_memory_objects(self.root_codelet_dir,
                                  'motor-input-memories/behavioral-memory',
                                  'inputs')
     # dct.set_memory_objects(self.root_codelet_dir, 'final-memory', 'I', mem['I'], 'outputs')
     print(mem['I'])