Giter Site home page Giter Site logo

Comments (6)

tianhaowuhz avatar tianhaowuhz commented on August 14, 2024

It seems the problem is caused by some value in urdf is "e-40", which exceed the limit, after fix this, the model can be loaded.

from dex-retargeting.

tianhaowuhz avatar tianhaowuhz commented on August 14, 2024

Although I have been able to load the model, the retarget result from human video in example seems a little weird, for example, at the initial frame the finger of human hand is open,
image
but the retargeted leap hand's finger is bent,
1c1a1e1e6956023563c587ffc8c8300
is there any parameter I should try to adjust this?
Here is my current yml config file of leap hand

  retargeting:
  type: vector
  urdf_path: leap_hand/leap_hand_right.urdf
  wrist_link_name: "base"

  # Target refers to the retargeting target, which is the robot hand
  target_joint_names: null
  target_origin_link_names: [ "base", "base", "base", "base" ]
  target_task_link_names: [ "thumb_fingertip", "fingertip", "fingertip_2", "fingertip_3" ]
  scaling_factor: 1.6

  # Source refers to the retargeting input, which usually corresponds to the human hand
  # The joint indices of human hand joint which corresponds to each link in the target_link_names
  target_link_human_indices: [ [ 0, 0, 0, 0 ], [ 4, 8, 12, 16 ] ]

  # A smaller alpha means stronger filtering, i.e. more smooth but also larger latency
  low_pass_alpha: 0.2

from dex-retargeting.

yzqin avatar yzqin commented on August 14, 2024

The yml configuration file seems to be in order; there don't appear to be any faults with it. The actual issue lies in the positioning of the fingertip linkโ€”it isn't accurately positioned at the fingertip of the leap hand as one might expect. The frame definition for the fingertip link is presented below:

image

from dex-retargeting.

yzqin avatar yzqin commented on August 14, 2024

The solution is to add a finger tip virtual link for leap hand so that the retargeting computation can be performed easily.

Please check the recent commit 3aa3e1a. We provide a yml config file for the leap hand for both vector retargeting and dexpilot retargeting. You can use our provided model in this repo.

from dex-retargeting.

yzqin avatar yzqin commented on August 14, 2024

Here is the video generated based on DexPilot config of leap hand

leap.mp4

from dex-retargeting.

tianhaowuhz avatar tianhaowuhz commented on August 14, 2024

It do looks better, thank you!

from dex-retargeting.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.