Changeset 388
- Timestamp:
- 04/09/12 17:03:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Puzzlebox/Synapse/Emotiv/Server.py
r387 r388 344 344 headers = headers + ',' 345 345 #headers = headers + 'Time From Start,Headset On,Contact Number Of Quality Channels,Wireless,Excitement,Long Term Excitement,Meditation,Frustration,Engagement/Boredom,Cognitiv Action,Cognitiv Action Power' 346 headers = headers + 'Time From Start,Headset On,Contact Number Of Quality Channels,Wireless,Expressiv Action Excitement,Long Term Excitement,Meditation,Frustration,Engagement/Boredom,Cognitiv Action,Cognitiv Action Power'346 headers = headers + 'Time From Start,Headset On,Contact Number Of Quality Channels,Wireless,Expressiv Action,Excitement,Long Term Excitement,Meditation,Frustration,Engagement/Boredom,Cognitiv Action,Cognitiv Action Power' 347 347 348 348 if self.emulate_thinkgear: … … 429 429 if 'expressiv' in packet.keys(): 430 430 if 'currentAction' in packet['expressiv'].keys(): 431 csv[timestamp]['Expressiv Action'] = packet['expressiv']['currentAction'] 431 value = packet['expressiv']['currentAction'] 432 if value == 32: 433 csv[timestamp]['Expressiv Action'] = '' 434 else: 435 csv[timestamp]['Expressiv Action'] = packet['expressiv']['currentAction'] 432 436 433 437 if 'affectiv' in packet.keys(): … … 529 533 for header in customDataHeaders: 530 534 row = row + ',%s' % csv[key][header] 531 #print header532 #print csv[key]533 535 534 536 row = row + '\n'
Note: See TracChangeset
for help on using the changeset viewer.