Ask Your Question

Gazebo with controller

asked 2012-08-13 13:54:20 -0500

phil0stine gravatar image

updated 2014-01-28 17:13:19 -0500

ngrennan gravatar image

I know there have been a few posts on SDF vs URDF for gazebo, but I'm still not sure I know which to use.

It particularly interests me when I see this in the terminal (running pr2_empty_world.launch ):

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!

So, if I want to go to SDF, then I cannot run a robot controller, or at least cannot use robot_description param required to run a controller.

But if I stick with URDF, then it's deprecated? If I could input Collada files or SDF with the robot_description param, I think it would help.

I see the reference to a collada converter here but haven't seen anything on it since this ticket that's over a year old.

Has it been maintained?

edit retag flag offensive close merge delete


Hello, I have a simmechnaics file( meshes are in stl format). I converted it to a urdf file then to a xacro file, I got the same warnings( gazebo_worlds/empty_world_paused). I am not whether these warnings affect my simulation in gazebo.

cagatay gravatar image cagatay  ( 2012-08-13 14:04:11 -0500 )edit

Was the conversion straightforward? I know there are urdf->collada (or stl I assume) but didn't know of the reverse. Thanks

phil0stine gravatar image phil0stine  ( 2012-08-13 14:37:19 -0500 )edit

hello, yes the conversion was straightforward, I used simmechanics_to_urdf package but I got an tf exception error then I used another version of simmechanics_to_urdf package, no problem occured. But when i launch gazebo and my robot's urdf, I got error described by you, .dae is collada format i gue

cagatay gravatar image cagatay  ( 2012-08-14 10:18:09 -0500 )edit

Hi. i am a new user of gazebo with ROS and I get the similar warnings when i launched gazebo. May i know what should I do about the warnings? In addition, my gazebo often terminates unexpectedly, could these warnings be the reason for that?

ChengXiang gravatar image ChengXiang  ( 2012-08-26 21:47:44 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-08-17 17:40:13 -0500

hsu gravatar image


URDF will not be deprecated without a way to load it in gazebo, so no worries there. We've started the process of adding URDF parsing in gazebo, more details to come. At least for now (in Fuerte), there will not be any interrupted support for URDF spawning in gazebo.

Thanks, John

edit flag offensive delete link more


Thanks. Might I ask if you know what ever happened with the ticket I referenced?

phil0stine gravatar image phil0stine  ( 2012-08-17 17:42:52 -0500 )edit

hi, if the converter is broken, please file a new trac ticket against it? thanks,

hsu gravatar image hsu  ( 2012-08-17 18:32:44 -0500 )edit

@hsu is there already update about URDF parsing?

130s gravatar image 130s  ( 2012-12-29 18:02:30 -0500 )edit

I am new to ROS/gazebo and I thought that URDF was the historical format for ROS/gazebo and that gazebo had started to move away from URDF and to SDF. Am I wrong?

arennuit gravatar image arennuit  ( 2014-07-16 11:09:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2012-08-13 13:54:20 -0500

Seen: 3,332 times

Last updated: Sep 25 '12