-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cyton, Wifi Shield, Python (wifi.py): numerous mods to incomplete implementation, bug fix. #117
Comments
Changes that will soon be available in the git repository: (1) Scale factor bug fix according to https://docs.openbci.com/Hardware/03-Cyton_Data_Format#cyton-data-format-binary-format A pull request was made; however, to get at fixes now, you can go to my fork: https://github.com/cmello418/OpenBCI_Python |
@cmello418, hi. Perhaps this should not be closed until integrated to master? And maybe some doc changes. Thanks so much for initiating this repair and upgrade. Sorry that the OpenBCI Python wifi code was not properly documented as "incomplete". It might also be appropriate that you edit the issue title to something like "Cyton, Wifi Shield, Python (wifi.py): numerous fixes to incomplete implementation" Mentioning @andreaortuno @produceconsumerobot |
Thank you for your help, @wjcroft. No apologies needed by anyone... I was a bit frazzled and perturbed at the time, and I was a bit sharp/harsh. I know how it goes when we're all being pulled in different directions at the same time; happens to me, too. For now, I will keep this closed, since anyone can get to my fork for a fix to this issue. I'll make a final comment, once it's confirmed that these changes are officially merged. Title change is a good suggestion. |
@andreaortuno @produceconsumerobot @daniellasry Just added on Trello checklist: Complete pull request and code review / test from cmello fixing a number of bugs and incomplete code in the wifi.py implementation #118 |
I'm using a Mac (macOS 10.14) with Python 3.6. I have a Cyton board coupled with the WiFi Shield - 8 channels. As of the date of this post, I have the latest firmware installed on both the Cyton and the Wifi Shield. Everything is configured and attached to the Ultracortex "Mark IV" headset using dry electrodes. With the latest version of OpenBCI GUI (4.0.3) everything works well. All 8 channels stream as expected.
However, I have a problem with using the wifi.py for streaming in Python (3.6). First, I want to point out that the square wave test works fine - I'm able to stream and display in realtime using matplotlib. When I switch over to streaming the raw data, it seems to "work", but it does not seem to contain any real "data"; I'm getting consistent sine waves from all the channels - almost seems like test data. Also, the values are very small float values, like .0283746734, etc. I notice that when I jiggle my head (while wearing headset), the waves look more like you would expect, but the "normal" stream for everything is very consistent sine waves.
I provide more details, images, and code here: https://openbci.com/index.php/forum/#/discussion/2012/cyton-wifi-shield-python-wifi-py-bad-raw-sample-values-but-fine-using-gui
The text was updated successfully, but these errors were encountered: