`muselsl` connects, but does not stream data on ubuntu
See original GitHub issueHi, first of all thanks for the project! There’s not much out there on getting streaming data from 2016 headsets, so it’s much appreciated.
I’m using ubuntu + BLED112 and trying to stream EEG data. I can get to the point of pairing/connecting, but muselsl
automatically disconnects because it doesn’t get any data:
$ muselsl stream --address 00:55:DA:B0:8E:E7 --backend bgapi
Connecting to Muse : 00:55:DA:B0:8E:E7...
Connected.
Streaming...
Timestamp 1533395995.9020605
^CTraceback (most recent call last):
File "/home/ysimonson/skull/venv/bin/muselsl", line 11, in <module>
sys.exit(main())
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/muselsl/__main__.py", line 51, in main
cli = CLI(args.command)
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/muselsl/cli.py", line 9, in __init__
getattr(self, command)()
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/muselsl/cli.py", line 42, in stream
args.interface, args.name)
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/muselsl/stream.py", line 116, in stream
muse.stop()
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/muselsl/muse.py", line 204, in stop
self._write_cmd([0x02, 0x68, 0x0a])
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/muselsl/muse.py", line 123, in _write_cmd
self.device.char_write_handle(0x000e, cmd, False)
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/pygatt/backends/bgapi/device.py", line 21, in wrapper
return func(self, *args, **kwargs)
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/pygatt/backends/bgapi/device.py", line 116, in char_write_handle
EventPacketType.attclient_procedure_completed)
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/pygatt/backends/bgapi/bgapi.py", line 521, in expect
return self.expect_any([expected], *args, **kargs)
File "/home/ysimonson/skull/venv/lib/python3.6/site-packages/pygatt/backends/bgapi/bgapi.py", line 557, in expect_any
raise exc
pygatt.backends.bgapi.exceptions.ExpectedResponseTimeout: Timed out after 1.000000s waiting for [<EventPacketType.attclient_procedure_completed: 17>]
As far as I’ve seen, this hasn’t come up before with linux + BLED112 since it’s the blessed solution. Is there something obvious I’m missing?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
uvicmuse - PyPI
Stream and visualize EEG data from the Muse headset. ... This project has two sections, first, UVic MUSE that connects to MUSE over...
Read more >Muse and OpenVibe 2.1.0 - OpenViBE forum - Inria
1)connect to muse via muse-lsl so to start the LSL stream ... 5)Press play on the designer , channels are recognized but no...
Read more >Thinkpad T420 (dualboot Ubuntu20/Win7 - on separate drives) won't ...
I worked in Ubuntu with python, trying to stream data from Interaxxon Muse EEG headband via USB bluetooth dongle and running python project...
Read more >How to OSC streaming data with a 2016 Muse? - Mind Monitor
Muselab would have worked, but it s not available anymore. Lab Streaming Layer connection to this https://github.com/alexandrebarachant/muse-lsl
Read more >Untitled - Estudo Geral
quotation from the thesis and no information derived from it may be published ... 5.1.1 Data Acquisition and Time Synchronization .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry to hear that. 🙁 If you do find a solution please post here and let us know what the problem was!
Thanks for trying! I updated BlueZ, gatttool and pexpect, and unfortunately that didn’t fix it. Since this is a pygatt error, I’ll close this out.