OpenBCI_Python library: best practices for integrating custom BCI algorithms

edited April 2015 in Software
I've been trying to write a program to manually label which waveforms are sad or happy since the OpenBCI GUI doesn't provide a simple way to add manual markers to the data. The source for it can be found here: manually_labeled_waveforms.py

What I should be expecting is a bunch of packets with varying labels next to them. Instead, I get an empty file and a bunch of messages along the line of "skipped packet with ID#".

I haven't been able to reproduce the same problem when I ran user.py in the OpenBCI_Python repo when I run the user.py file with these steps:
  1. python2 user.py -p /dev/ttyUSB0 -a csv_collect
  2. Then in the program, type /start
  3. Wait for some data to come on. You will never see the message, "I skipped packet with ID#" over and over again no matter what you do.
  4. Then type /stop
  5. Then type /exit
  6. You should get a csv file filled with EEG data

What'm I doing wrong with invoking the library to connect to the board in my program? I decided to try writing a python program to handle classifying the EEG waveforms as a fallback since the project is in a time crunch.






Comments

Sign In or Register to comment.