roboticslab-uc3m / dextra-yarp-devices

YARP devices for the Dextra prosthetic hand
0 stars 0 forks source link

Adjust Dextra's finger joints to trained models #1

Open PeterBowman opened 5 years ago

PeterBowman commented 5 years ago

At https://github.com/roboticslab-uc3m/sign-language-papers/issues/7, we trained a series of NN models to express motor joint commands given actual angles between consecutive finger joints. Those models were given the opposite relationship, i.e. resulting finger joint angles given a motor command. The problem is: OpenRAVE's dextra models work with a different configuration regarding directions of rotation, i.e. finger joints move between -7 degrees (almost fully open) and -85 degrees (fully closed, perhaps unattainable?) whereas said models are always given positive angles.

Decide on either updating OpenRAVE models accordingly or applying a conversion on the angle inputs to the trained NNs (or: generate those models again). Perhaps initial pose and limits should be reviewed, too.

PS: mind the thumb!

jgvictores commented 5 years ago

A couple of things we've commented:

jgvictores commented 4 years ago

Misc:

jgvictores commented 4 years ago

A way to set to value within range via the .robot.xml file:

<jointvalues>0 0 -0.125 -0.125 -0.125 -0.125 -0.125 -0.125 -0.125 -0.125 -0.125 -0.125 -0.125 -0.125 -0.125</jointvalues>

Note: warnings do not dissapear; in fact, you get double the warnings if you do it incorrectly.