Git Product home page Git Product logo

myo-processing's Introduction

ko-fi

Hello! Hello!

I'm Darius, a software developer from Germany. In my free time I work on open-source, web and tech projects for the good.

Links: WebsiteLinkedInXing

myo-processing's People

Contributors

nok avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

myo-processing's Issues

Gyroscope and Accelerometer data swapped

Testing the Myo armband with Processing 3.0, it seems that the Gyroscope and Accelerometer data provided by the myo.getAccelerometer() and myo.getGyroscope are swapped, with the .getAccelerometer() providing the Gyroscope data, and the .getGyroscope() providing accelerometer data.

Error on Myo With EMG example code

Hi, I get this error :

"# Myo v0.8.0.2 - Support: Myo SDK v0.8.0, Firmware v1.1.5 - https://github.com/voidplus/myo-processing A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application."

when I run the code using Processing 2.2.1 X64 on Windows 7 64 bit

Is the problem about the java library??

Thanks :D

Multiple Myos

I'm wondering if it's possible to use multiple myos with this library. It seems possible but I can't seem to figure it out. I'm really enjoying this library so far though. Great Work!

Read two myo's at the same time

Hi Nok,
I'm trying to read two myo's at the same time, what would be the correct method to do so?
Thanks a lot for this processing implementation
Best
David

A library used by this sketch is not installed properly

I just installed The Myo library from Processing (2.2.1) and got the error as shown bellow:
I have also tried to use the version direct from Github the master branch and the development branch with the same result

I am working on OSX 10.9.5
My Myo connect is version: 0.15.0
And the firmware is version: 1.4.1670

# Myo v0.8.1.5 - Support: Myo SDK v0.8.1, Firmware v1.1.755, Alpha Firmware v1.1.5 - https://github.com/nok/myo-processing
java.lang.UnsatisfiedLinkError: /private/var/folders/5x/1m0c5dh57tv036wxsx0nn2v80000gp/T/libmyo.jnilib: dlopen(/private/var/folders/5x/1m0c5dh57tv036wxsx0nn2v80000gp/T/libmyo.jnilib, 1): Library not loaded: @rpath/myo.framework/Versions/A/myo
  Referenced from: /private/var/folders/5x/1m0c5dh57tv036wxsx0nn2v80000gp/T/libmyo.jnilib
  Reason: image not found
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1894)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1088)
    at com.thalmic.myo.Hub.copyAndLoadOSXFromTemp(Hub.java:132)
    at com.thalmic.myo.Hub.loadJniResources(Hub.java:54)
    at com.thalmic.myo.Hub.<init>(Hub.java:27)
    at com.thalmic.myo.Hub.<init>(Hub.java:22)
    at de.voidplus.myo.Myo.<init>(Myo.java:98)
    at e1_basic.setup(e1_basic.java:28)
    at processing.core.PApplet.handleDraw(PApplet.java:2361)
    at processing.core.PGraphicsJava2D.requestDraw(PGraphicsJava2D.java:240)
    at processing.core.PApplet.run(PApplet.java:2256)
    at java.lang.Thread.run(Thread.java:745)
Unable to load libmyo.jnilib from directory /var/folders/5x/1m0c5dh57tv036wxsx0nn2v80000gp/T
A library relies on native code that's not available.
Or only works properly when the sketch is run as a 32-bit  application.

Which are the ranges of getOrientation()?

Hello,
first of all thank you for your library I'm playing with it since I received my Myo armband.
Right now I'm trying to get the roll to control something so I'm using getOrientation() to store the data in a PVector and then I retrieve the roll with PVector.x and now I'm wondering: between which range of values the 3 float value of getOrientation() changes? I thought it was between 0 and 16 but then I saw sometimes they value 17 or even more and I can't find this info in your documentation.
Thank you in advance for your answer.

Incompatible with latest firmware/connect version

This isn't really an issue. Just wanted to confirm that the library currently doesn't work with Myo Connect 0.8.1 and firmware 1.1.755.

I see that, when in processing, the icon doesn't show the "check mark" as it does when in other connected apps (chrome, etc).

Why Processing?

Hi Darius,

I'm interested in streaming emg data from multiple myos on one arm.
I noticed you've been working on a project that can enable me to do this.
However, I'm not familiar with Processing, and all of the other work necessary
for my project I've done in C++.
Is there a particular reason why you chose Processing? Could I do what you did using
C++ and the SDK that Thalmic Labs provided? I've read a few times that emg streaming
from multiple myos is not supported by the SDK.

Thanks!

"Unable to load myo from system directories." - Error

There is a curious bug, that Java can't find and load dependent libraries: Unable to load myo from system directories.

Here is a workaround for Mac OS users:

Download the official Mac SDK OS X Beta 5 of Thalmic and copy the file myo.framework to /System/Library/Frameworks/.

In addition I will push improvements for a better error handling with specific exceptions: Hub.java#L129

Cannot change default lock behavior or unlock from Processing

The myo.setLockingPolicy(lockingPolicy) API has not been implemented.

This is a problem because in the latest version of Myo SDK (0.8.1), the default lock policy is that it will be locked when either a pose is detected, or timeout (about 3s).

This is clearly a problem since you constantly have to unlock, do a pose, and then it locks itself again.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.