Changeset 409
- Timestamp:
- 01/17/15 18:27:06 (6 years ago)
- Location:
- trunk/Puzzlebox/Synapse/Muse
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Puzzlebox/Synapse/Muse/Client.py
r408 r409 130 130 ##self.plugin_session = self.parent.plugin_session # for Jigsaw compatability 131 131 132 #self.protocol.start()133 self.protocol.run()132 self.protocol.start() 133 #self.protocol.run() 134 134 #self.protocol.run(self.protocol) 135 135 … … 145 145 146 146 self.packet_count = self.packet_count + 1 147 148 #print self.packet_count, 149 #print packet 147 150 148 151 # Pass GUI updating to Interface application or parent object -
trunk/Puzzlebox/Synapse/Muse/Server.py
r408 r409 50 50 DEBUG = configuration.DEBUG 51 51 52 COMMUNICATION_MODE = 'Emit Signal'53 #COMMUNICATION_MODE = 'Call Parent'52 #COMMUNICATION_MODE = 'Emit Signal' 53 COMMUNICATION_MODE = 'Call Parent' 54 54 55 55 SERVER_INTERFACE = configuration.MUSE_SERVER_HOST … … 299 299 300 300 301 #if ('affectiv' in packet.keys()): 302 303 #packet['eSense'] = {} 304 305 #if ('excitement' in packet['affectiv'].keys()): 301 if ('concentration' in packet.keys()): 302 303 packet['eSense'] = {} 304 packet['eSense']['attention'] = packet['concentration'] 305 306 if ('relaxation' in packet.keys()): 307 308 packet['eSense'] = {} 309 packet['eSense']['meditation'] = packet['relaxation'] 310 311 312 #if ('concentration' in packe.keys()): 306 313 ##packet['eSense']['attention'] = int(packet['affectiv']['excitement'] * 100) 307 314 #packet['eSense']['attention'] = int(packet['cognitiv']['currentActionPower'] * 100) … … 635 642 636 643 if muse_protocol != None: 637 muse_protocol.KEEP_RUNNING = False 644 #muse_protocol.KEEP_RUNNING = False 645 muse_protocol.keep_running = False 638 646 639 647 count = 1
Note: See TracChangeset
for help on using the changeset viewer.