Comments (5)
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.
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.
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.
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.
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.
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)
- How to reflect meshes loaded from files? HOT 3
- Single appearance feature for meshfiles overwrites mesh scaling HOT 7
- Webots does neither use color nor textures from wavefront (.obj) files HOT 13
- NameError: global name 'PackageNotFoundError' is not defined HOT 10
- Base link is missing physics element that breaks Gyro node use HOT 8
- Question: when will the mesh scaling fix be included in the release? HOT 1
- Empty textures folder problem with URDF to PROTO conversion HOT 2
- Converter prunes URDF branches of sensors HOT 3
- Question: Update rate of sensor HOT 4
- Geometry.reference database does not consider scaling option HOT 2
- Mesh of base is not rendered HOT 6
- SliderJoint initial position is not reflected in Webots simulation
- Expected field name or '}', found ']' when adding proto to environment
- How do I set the contactMaterial? HOT 1
- How to generate a passive joint? HOT 2
- URDFSpawner <device reference=βlinkβ> does not work when the link is defined in the urdf and not in an existing PROTO HOT 4
- URDFSpawner does not set the robot Physics & BoundingObject when the base link does not have a collision tag
- Missing parsing of ROS mesh filename 'file://' prefix HOT 1
- URDFSpawner does not preserve link names, messing the TF tree when using the ros2_webots_driver with robot_state_publisher HOT 1
- Colors not being applied when pre-defined in URDF
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from urdf2webots.