ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
6

Why URDF is not deprecated?

asked 2014-07-16 09:59:08 -0500

arennuit gravatar image

Hi all,

I am following the tutorials on ROS and gazebo and I am really getting confused as to the current state of URDF and SDF.

The overall question is: if SDF supersedes URDF, why is URDF kept?

Now getting into details:

  • You now need 2 descriptions of your scene (URDF and SDF)... Which is weird. Of course you can use gzsdf to do the conversion but
    1. It read the tool does not handle complex scenes,
    2. And you end up having to write a URDF with the hacky gazebo tags for simulation parameters rather than using the native SDF simulation parameters
  • URDF is sometimes marked deprecated, sometimes you read there is no plan to get rid of it (here and here)
  • SDF seems to only be supported in gazebo, what is the support state for SDF in MoveIt, RViz...and the other tools?
  • When following the initial Gazebo tutorials, you are pushed to use SDF. Now when reaching the tutorials on the connection between ROS and gazebo they only talk about URDF, this is very misleading

Is this confusion due to a transitional state from URDF to SDF which last longer than expected, or is it supposed to last forever?

So what is the best practise today to use URDF and SDF on a large project? Should we specify things in URDF (including gazebo tags for links, joints and robots), convert to SDF using gzsdf and cross fingers that the gzsdf conversion works?

Thanks,

Antoine.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-07-16 10:31:36 -0500

DevonW gravatar image

Hi,

Hsu answered this really well. http://answers.ros.org/question/41294...

-Dash

edit flag offensive delete link more

Comments

Thanks! Hence what is the best practise today to use URDF and SDF on a large project? You write URDF by hand and convert to SDF using gzsdf?

arennuit gravatar image arennuit  ( 2014-07-16 11:12:01 -0500 )edit

@DEvnoW, I beg to disagree. @hsu explained a situation that was temporary two years ago. It is not your fault nor it is hsu's but two years w/o any changes on a situation like this, can hardly be considered an "answer". It was a reply, yes, but neither answer, nor solution.

ccapriotti gravatar image ccapriotti  ( 2014-07-17 17:02:33 -0500 )edit

@ccapriotti, I agree with you that the situation is clunky and not optimal. As this is a rather fundamental problem that everybody has to cope with I guess there is an obvious answer to the problem on a day to day basis. Any idea of the workaround to the problem on large projects?

arennuit gravatar image arennuit  ( 2014-07-18 07:56:39 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-07-16 09:59:08 -0500

Seen: 386 times

Last updated: Jul 16 '14