Skip to content
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

Why the matrix operations? #3

Open
Sld1c opened this issue Oct 26, 2018 · 1 comment
Open

Why the matrix operations? #3

Sld1c opened this issue Oct 26, 2018 · 1 comment

Comments

@Sld1c
Copy link

Sld1c commented Oct 26, 2018

Hello I'm trying to understand why did you use the matrix
I believed that the Myo give us the orientation data (Yaw, Pitch and Roll).
If this isn't the case, is the matrix for Accelerometer, Gyroscope and Orientatión data?
Then, in the updateGestureCache() function, what are the parameters local [2][1] local [2][0]?
I know that they are the result about the matrix and inverse matrix multiplication but, what are they means? Why those exactly parameters inside the matrix? Why do you need the "asin" of these parameters and the roll angle? Why the roll angle is in local [1][0]?
What's the purpose of the matrix multiplication by another matrix?
And finally, What is the corresponding value for each one of the parameters in the matrix for the original position? I mean which parameters corresponds to the accelerometer, gyroscope and orientation if it is the case.
I hope you can help me
Thanks a lot!

@Sld1c Sld1c changed the title Why the matrix an the vector operations? Why the matrix operations? Oct 26, 2018
@vroland
Copy link
Owner

vroland commented Oct 27, 2018

Local represents the myo orientation relative to the orientation it was in when the gesture began... But I don't know the data format of Myo any more, you should be able to find this in its documentation, though. Unfortunately, my memory of the details is not quite fresh, but basically the gesture cache records select orientation parameters, which is later matched to possible gestures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants