d4rken / myolib

Android Myo library with full data access and support for multiple Myos.
Apache License 2.0
38 stars 19 forks source link

Myo orientation on arm in ON_SYNCED callback #2

Open d4rken opened 9 years ago

d4rken commented 9 years ago

The classifier event myohw_classifier_event_arm_unsynced = 0x02 contains a rotation/orientation value of the Myo on the users arm.

It's not specified in the Myo Bluetooth protocol but in the debugger it can clearly be observed that the event contains byte[6] of data. The undocumented data is current "WarmUpState" and the previously mentioned rotation/orientation.

There is some more information in another Myo library project for OSX. Here and here.

A comment there states:

/// Retrieve the estimated rotation of Myo on the user's arm after a sync.
/// The values specifies the rotation of the myo on the arm (0 - logo facing down, pi - logo facing up)

I did not get any meaningful values around 0 or pi during tests though.

heathenpizzafairy commented 7 years ago

Kinda sounds like it'd be how they map a spy camera app. Flip up it can see and here, down it can only hear and on it can do both while messuring how psychically active you're being.

sweettea03 commented 3 years ago

Well duh