NicholasAStuart / myo-java

Java API for Thalmic's Myo Device
Apache License 2.0
41 stars 27 forks source link

onPose does not get called #13

Closed jonas-db closed 8 years ago

jonas-db commented 8 years ago

Hi,

we are using version 0.9.1 on mac OSX Yosemite 10.10.5 and we are running the HelloMyo example but the onPose method does not get called when doing poses, it always prints "REST"

NicholasAStuart commented 8 years ago

What is your LockingPolicy? Are you performing the Unlock Gesture? By default, the LockingPolicy will require you to perform the unlock gesture before gestures are recognised by the onPose() method. If you set the Locking Policy to LOCKING_POLICY_NONE than you will get all poses without having to perform the unlock gesture.

jonas-db commented 8 years ago

The policy was wrong, indeed. It works now.