Gazebo | Ignition | Community
Ask Your Question

Should I consider the warning when converting model to sdf format in ROS Fuerte using gzsdf?

asked 2012-12-12 10:34:27 -0500

Shanker Keshavdas gravatar image

I am converting the .model files in simulator_gazebo/gazebo_worlds/objects to the sdf format, since I receive a warning when I use the .model files. When I convert the files, I get the same warning as when using them.

$ rosrun gazebo gzsdf print desk6.model > desk.sdf
Warning [] Gazebo SDF has no gazebo element
On July 1st, 2012, this formate will no longer by supported
Convert your files using the gzsdf command line tool
You have been warned!

Am I doing the conversion correctly? I couldn't find the documentation for the gzsdf command, so I hope I am using the right filetypes.

Should I worry about this warning? Will the object behave "normally"? Is this warning a bug or meaningful?

Another question, shouldn't there be sdf format files in the simulator_gazebo/gazebo_worlds/objects folder? Since sdf is the apparently the new chosen format for gazebo? Doesn't the warning mean that the other formats are not to be used anymore?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-12 11:57:36 -0500

nkoenig gravatar image

The model files in ROS's simulator_gazebo package are very old. The gzsdf tool is only meant to work with SDF file, which was first introduced in Gazebo 1.0.

Basically, support for file formats prior to gazebo 1.0 are not supported. The gzsdf tool may work, but I can't guarantee it.

edit flag offensive delete link more


Is there a tool for converting URDF -> SDF, at least the parts that can be converted? Doing this manually looks like a painstaking process.

davetcoleman gravatar imagedavetcoleman ( 2013-01-02 14:54:25 -0500 )edit

The command line tool gzsdf should convert for you.

nkoenig gravatar imagenkoenig ( 2013-01-09 16:11:13 -0500 )edit

Question Tools

1 follower


Asked: 2012-12-12 10:34:27 -0500

Seen: 867 times

Last updated: Dec 12 '12