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

Adjust Dextra's finger joints to trained models #1

Open
PeterBowman opened this issue Jul 7, 2019 · 3 comments
Open

Adjust Dextra's finger joints to trained models #1

PeterBowman opened this issue Jul 7, 2019 · 3 comments

Comments

@PeterBowman
Copy link
Member

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
Copy link
Member

A couple of things we've commented:

  • It would be nice for OpenRAVE to expose the motor command, thus not expose the individual joints, rendering these internals not extremely relevant.
  • I'd like to conserve our sign conventions. Considering hands a separate entity with the base at the bottom (even with different DH models for right/left hand), this would mean most of the Z axes (joint rotations) would point right, and close upon a positive rotation. Note that these are internals of the simulation, but it's good to have a clear criteria to always speak in a unified manner that applies to simulation and physical hand.

@rsantos88 rsantos88 transferred this issue from roboticslab-uc3m/teo-openrave-models Nov 8, 2019
@jgvictores jgvictores pinned this issue Nov 19, 2019
@jgvictores jgvictores unpinned this issue Dec 3, 2019
@jgvictores
Copy link
Member

jgvictores commented Dec 24, 2019

@PeterBowman PeterBowman transferred this issue from roboticslab-uc3m/openrave-yarp-plugins Jan 9, 2020
@jgvictores
Copy link
Member

jgvictores commented Feb 7, 2020

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.

@PeterBowman PeterBowman transferred this issue from roboticslab-uc3m/teo-openrave-models Jan 4, 2024
@github-project-automation github-project-automation bot moved this to To do in [TEO] Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

2 participants