Giter VIP home page Giter VIP logo

Comments (5)

astumpf avatar astumpf commented on June 10, 2024

I can confirm this behavior. Currently our robots just falls apart, when using the current version of the exporter. Looks funny but makes the exporter currently unusable. I will try an older version from the repository.

Best regards

from urdf2webots.

astumpf avatar astumpf commented on June 10, 2024

Hi all,

I was using this tool with a couple different robots (franka emika panda and ur3e+robotiq_85) and it seems that the presence of fixed joints seem to be ignored. That is, when opened in Webots, any part of the robot after that fixed joint disconnects and falls due to gravity. As a test, I converted those joints to revolute ones, making them essentially fixed through the limits, and this seemed to fix the issue. I haven't fully tested the behavior of the robots with a controller, but will be doing so soon.
Attached is the panda urdf file that had the issues.

panda.txt

In my case, following commit is the issue: 8e5b0e2

Maybe your links are missing a mass?

However, some robot URDF contain "fake" links. Especially the "base_link" can be a such a virtual link for representation reasons. In my case the base_link was indeed without a mass, resulting in disconnected robot parts. The linked patch introduces this behavior.

from urdf2webots.

AndrewJSchoen avatar AndrewJSchoen commented on June 10, 2024

In the case of the panda example, all the links had no mass. I also did this for the UR5+robotiq 85 gripper, and while a number of those links have mass, the link connecting the robot to the gripper did not.

from urdf2webots.

 avatar commented on June 10, 2024

I encountered this bug recently, too. Its sad that this issue was not yet solved despite being open for over nine months. After some time I found the root cause. Its not the fixed joints or missing mass but the dummy links having no collision.

For everyone encountering this bug in the future: Just add a collision object e.g. a box with sidelength 0.0 to all empty links in your URDF/xacro (like base_link). That should fix the problem consistently (changing fixed joints to "revolute" didn't work for me). My hypothesis is that Webots requires a bounding object to simulate the physics of a solid and its connection and if there is no bounding object the physics calculation will fail.

Would be nice if this was fixed permanently because many URDFs contain dummy links and changing them is maybe not hard, but still annoying.

from urdf2webots.

BenjaminHug8 avatar BenjaminHug8 commented on June 10, 2024

I am closing this as it has been solved in #146 by removing all the links not specifying a mass, see here.

from urdf2webots.

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.