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

thumb rotation #2

Open
mfreard opened this issue Oct 28, 2016 · 3 comments
Open

thumb rotation #2

mfreard opened this issue Oct 28, 2016 · 3 comments

Comments

@mfreard
Copy link
Collaborator

mfreard commented Oct 28, 2016

After using the hand Nicolas thinks the thumb rotation is too sensitive. He wants the thumb to close when the hand is opened. Is it possible to add this requirement in your code?

Thanks
Michel

@vitaminwater
Copy link
Member

The idea would be to have the thumb open and close, based on fingers position ?

@vitaminwater
Copy link
Member

Just realized the latest code from Toulouse wasn't committed:/

I added a comment to indicate where the actual hand controls happen in the loop function.

and a #define THUMB_CONTROL_THRESHOLD for the control of the thumb control threshold. right now it is at 20%, please try other values, there should be a sweet spot (or we'd need a better detection method).

To control the thumb based on the other fingers position, check the line 176, where I set the 3 middle fingers' position based on the index finger.
Let me know if can do the modification with nico, will be much easier to fine tune with the hand plugged-in;)

@mfreard
Copy link
Collaborator Author

mfreard commented Nov 1, 2016

The thumb closes or opens when the fingers are open completely and Nicolas did a double contraction

The program is quite complex.
I'll test with Nicolas.
Thanks

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