-
Notifications
You must be signed in to change notification settings - Fork 102
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
Multiple Myos #28
Comments
Hi Aditya, I don't have multiple Myos so I can't test it, but it should be possible without further ado. If you chose to implement a |
Hi Niklas, I haven't gone through the code yet but I'm wondering whether it's possible to make it work with two USB dongles? Thanks! Ala |
I have no idea, I only have one Myo. :) |
Hi Niklas, Related to this: Is there a way to get the MAC Address of each Myo? Also could you please toss up an example on using Feed.get_devices() ? Thanks! |
The
Could you tell me what is unclear about this function? You can add this line in the print("Connected devices:", feed.get_devices()) and get something like
|
I was wondering how/where it might be used in the hello_myo example set up. I should have been clearer about that. Ah, bummer, re: MAC Address. Was hoping that was possible. |
@sharkwheels The "hello_myo" example implements a |
@sharkwheels As an alternative, you could use the memory address of the Myo C-object to identify a Myo. For a |
Hi Niklas, I want to get the sEMG data from two Myos, but some troubles make me at a loss. When I use the
|
Hi @GanKunlu, you have to enable EMG streaming first. See myo.set_stream_emg(StreamEmg.enabled) Note that |
I've added an entry in the FAQ section of the docs. http://myo-python.readthedocs.io/en/latest/faq.html |
Beware of attempting to stream EMG from two Myos using a single dongle. There isn't enough bandwidth in the hardware to support the required throughput. |
By using this method, for 2 Myos, 2 on_pair() calls are received however myo values of the calls are unfortunately the same.
By using this method, 2 different Myos can be used. However 200Hz for EMG and 50Hz for IMU cannot be reached.
|
Just to clarify data streaming limitations with multiple Myos: When using two Myos with one dongle (as must be the case when relying upon Myo Connect), EMG data must not be streaming. Another way to say this is that when EMG data is streaming, only one Myo can be used without having arbitrary data lost by a single dongle. Since IMU data is always transmitted by Myo firmware, you can plan on having all of this data available. When using two Myos, I have found that all IMU data is received from both devices. |
That is strange, because the myo-python/myo/device_listener.py Lines 339 to 341 in d80f650
Unfortunately, I won't be able to reproduce the issue. As mentioned above, I have only one Myo device. I'd be happy to review patches, though.
Is there an alternative for Myo Connect? |
I can think of two such alternatives to Myo Connect. They both travel down the stack closer to Myo.
Both of the above solutions afford the developer the freedom to avert the hardware bandwidth limitation affecting streaming EMG from multiple Myos. |
More interesting results occured when I implemented (from (from (from (from
This is really weird, I wish you had the 2nd Myo :) |
That's even more strange. Lines 291 to 367 in d80f650
I recommend you use |
Ah yes, you actually have to use |
I am trying to run my hub every 5 ms but I am getting the error |
Hi, is it possible to use multiple Myos with these bindings? If so, how?
The text was updated successfully, but these errors were encountered: