mindaffect / pymindaffectBCI

Python SDK for high performance on-line Brain Computer Interface development.
https://mindaffect.nl
Other
63 stars 27 forks source link

Conection to Laptop (Presentation) IP lost #6

Open nonfingo opened 4 years ago

nonfingo commented 4 years ago

Hi! Thanks for this nice project! I managed to install all and to conect the OpenBCI Ganglion! So far fine! However, when i run the python3 -m mindaffectBCI.examples.presentation.selectionMatrix after the calibration and just befor the prediction, the display closes and at the rasberi pi i get following error: "conection lost - IP num of presentation lapotp" (i think) And at the presentation laptop i have following error: "struct.error: unpack requires a buffer of 9 bytes"

Thanks and kind regards! Pascal.

jadref commented 4 years ago

Dear Pascal,

Thanks for your issue. This is a bug due to a version mismatch between the decoder and the python code in the python package on PYPI -- we meant to update last week, but didn't. In any case the versions have now all be updated, so to fix you need to update your pip version. To do this you need to first uninstall the current mindaffectBCI and then re-install which should retrieve the new version. You can do this by: 1) Uninstall with: pip3 uninstall mindaffectBCI 2) Install again with: pip3 install mindaffectBCI If this works correctly you should see the updated version of at least: 0.9.9

Then the selectionMatrix should complete. You should then also be able to run:

python3 -m mindaffectBCI.examples.utilities.sigViewer

to get a view of the 'raw' signals coming from the decoder.

With best wishes making cool things with your BCI,

Jason

jadref commented 4 years ago

Dear Pascal, Can I just check did this solve your issue? If so then I will close this issue. If not please let me know so I can help.

Jason

nonfingo commented 4 years ago

Yes! Sorry for not confirm that! Best, Pascal