-
Notifications
You must be signed in to change notification settings - Fork 365
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
SdfImporter Feature Request #35
Comments
Hi @peci1 ! Thank you also for suggesting a new SDF import feature! Please note that the URDF file is made for simulation models of individual robots. It contains all relevant model parameters for rigidbody simulation models. Among others, also joint limits and friction coefficients can be specified in a URDF (http://wiki.ros.org/urdf/XML/joint). To be honest, we are very glad that the URDF importer works so nicely in Unity and we found a Unity counterpart to (almost) all specifications can be made in an URDF. The SDF importer specifies whole simulation scenes with optionally multiple robots in it. The sdf data format can thus be considered as a superset of the URDF data format. Though the specification of an individual robots in an SDF does not match the specification of the same robot in a URDF, many things are identical. An SDF importer in ROS# could be considered as a complete Gazebo-Unity Scene Importer. When thinking about implementing an SdfImporter in addition to UrdfImporter in ROS#, I noticed the following:
Rather than an SdfImporter, I see the biggest potential in an SdfExporter: Think about setting up a whole Gazebo Simulation Environment with the efficient Unity Editor functionalities and exporting that scene to ROS. |
In this commit we realized exporting URDFs from Unity. |
Hi @MartinBischoff , Please allow me to share our views. We understand why urdf is important. One reason we could find is that the ROS nav and similar packages expect URDF as robot description. However, one of the major limitation we came across while working with an URDF model is; we can not simulate those have chained joints. So we had to stick to sdf based models. chained joints models i.e. parallel gripper, complex suspension systems etc. Or the joints where parent and child links form a loop. We think as the awareness for urdf limitation grow, the community might stick to sdf rather than that of URDF. Hence, the request for having an SDF importer can be a valuable library for few developers like us. I wish to +1 for the need of sdf here. |
I've just read the ROS# announcement, and saw that you use URDF to simulate robots. This format is not suitable for description of simulation environments. The better format to use is http://sdformat.org/ used by Gazebo. It allows for other important specifications like joint limits, friction coefficients etc... And for those left only with a URDF model, there is the
gzsdf
tool that converts URDF to SDF (which, of course, doesn't contain any of the simulation-specific tags).But anyways, great work!
The text was updated successfully, but these errors were encountered: