-
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
Acceleration and Gyroscope events don't appear #41
Comments
Update: |
Hi @ahkmadeus, unfortunately I can't reproduce the issue here. I couldn't test it in a On 19 August 2016 at 11:58, akhmadeus [email protected] wrote:
Niklas Rosenstein |
I fully understand this situation, never mind. If I find the way I'll tell you here. Thanks! |
Dear Niklas,
Sorry, I've completely rewritten my question here. Previously it was different, but formulated in a wrong way. Hopefully it didn't bother you)
I successfully run your example files, but I face an issue during the use of Listener class in my application. I'm making a PyQt app that visualizes the EMG and IMU data in real time. I've written my own listener, based on your example, that puts all the data into a Queue shared between the listener and parent widget. The problem is that I don't receive orientation events at all. Let's take this code for example:
def on_event(self, kind, event): print(kind)
When a listener with this code is created in main(), like in your example, it prints this:
...
EventType: emg
EventType: emg
EventType: emg
EventType: emg
EventType: orientation
...
in a repetitive way and I find it completely correct.
But when I create the same listener in my widget, it gives only :
...
EventType: emg
...
The listener class I use in both examples is the same. The difference is whether I create it in main() function or in my app's widget. Do you have some idea about this issue?
I do it on OSX El Capitan, armbands are up to date.
Thank you very much!
The text was updated successfully, but these errors were encountered: