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

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 [parser.cc:348] Gazebo SDF has no gazebo element
Warning [parser.cc:291] DEPRECATED GAZEBO MODEL FILE
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

Comments

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
3

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

hsu gravatar image

Hi,

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

Comments

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

Question Tools

9 followers

Stats

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

Seen: 3,842 times

Last updated: Sep 25 '12