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

Convert SDF world made with building editor to URDF

asked 2019-05-22 02:30:56 -0600

Elric gravatar image

I'm using ROS Melodic and Gazebo 9.6.0.

I will use Gazebo's Build Editor to build a building using a floor plant image, like this:

image description

You can see how it can be done in this video.

I'm going to use that world with ROS, but its format will be SDF, and I need a URDF file.

Do I need to convert it to URDF or I can use it in SDF format?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-06-06 08:13:55 -0600

c-mon gravatar image

updated 2019-06-06 22:38:48 -0600

ROS only works with urdf from what I've read and tried.

This python project should work for the conversion .

The usage looks like this model.sdf model.urdf you can additionally add this before the model.sdf -p plotfile.png to export an image of model.sdf.

edit flag offensive delete link more

Question Tools



Asked: 2019-05-22 02:30:56 -0600

Seen: 1,129 times

Last updated: Jun 06 '19