Giter Site home page Giter Site logo

Comments (3)

hyounesy avatar hyounesy commented on May 25, 2024

Thanks for bringing this to our attention. Our initial guess is that it might be related to intra mesh collision in the robot. We will investigate this and get back to you.
[ticket# AIRO-597]

from urdf-importer.

at669 avatar at669 commented on May 25, 2024

Hi @mathujeyanth! After some investigation, I was able to reproduce this issue. The key issue is as @hyounesy mentioned--the right and left fingers of the gripper would collide internally when gripping small objects like the 0.01 scaled cube. I'm attaching a video showing the intra-mesh collisions, and the stopped drifting!

Screen.Recording.2021-05-06.at.10.33.03.AM.mov

These were the changes I made in order to stop the rotation drifting:

  1. Disabling collisions between the right and left fingers in the URDF file resolves the root of the issue. In the robotiq_hande.urdf file, add the following:
    <disable_collision link1="hande_right_finger" link2="hande_left_finger"></disable_collision>
    You can learn more about disabling collisions here.
  2. I see that you've already selected TGS as the solver type, which is great! There are two options here:
    1. if you'd like to use the Two Directional Friction Type, you'll need to increase the Default Solver Iterations to, for example, 12, as directional friction requires more iterations to compute.
    2. If you keep the Patch Friction Type, you can leave the Default Solver Iterations to the default of 6.
  3. For either option, I left the Default Solver Velocity Iterations as the default for the video sample taken, but you're free to tweak the values as you see fit!

Here are my physics settings for reference:
Screen Shot 2021-05-06 at 10 34 31 AM

Finally, here is the modified URDF: robotiq_hande.urdf.zip

Please let us know if these steps resolve your issue!

from urdf-importer.

mathujeyanth avatar mathujeyanth commented on May 25, 2024

Hi @at669 thank you for the reply! I did find a (somewhat) solution to the problem, but forgot to update this issue and resolve it. I first arrived at the same conclusion that the drift was caused by the collision of the right and left fingers collider, so I manually disabled the responsible colliders and had to tune some of the physics value. Though I prefer your solution as it being more elegant. The linked URDF Tutorials Appendix is also much appreciated!
Thank you for the solution, I'll resolve this issue now.

from urdf-importer.

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.