Gazebo | Ignition | Community
Ask Your Question

Gazebo parse problem with Groovy

asked 2013-07-22 07:32:36 -0500

tseco gravatar image


I have just installed ros-groovy and when I try to run the gazebo example:

roslaunch gazebo_worlds empty_world.launch

there is no problem, but if I try to lauch any of the other examples with:

roslaunch gazebo_worlds office_world.launch

I have some errors:

Msg Waiting for master.Warning [] SDF has no <sdf> element in
Error:   Could not find the 'robot' element in the xml file
         at line 59 in
Error [] Unable to call parseURDF on robot model
Warning [] SDF has no <sdf> element in file[urdf file]
Error [] parse as old urdf model file failed.
Error [] Unable to read sdf
Segmentation fault (core dumped)
[gazebo-2] process has died [pid 29155, exit code 139, cmd
log file:

The gazebo version installed is 1.5.

Any suggestions?

Best regards,

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-07-23 19:22:01 -0500

gerkey gravatar image

It looks like the gazebo_worlds package in ROS Groovy contains some very old .world files that use a syntax that's no longer supported. Specifically, these .world files will fail to parse:

So you should avoid using those .world files, including the .launch files that refer to them.

Note that the simulator_gazebo stack (which contains the gazebo_worlds package) has been deprecated starting in ROS Groovy and will no longer be distributed in ROS Hydro.

edit flag offensive delete link more


Thank you very much for your answer. Is it possible to use urdf files with gazebo and groovy or only sdf files?

tseco gravatar imagetseco ( 2013-07-24 01:49:12 -0500 )edit

Thank you very much.

tseco gravatar imagetseco ( 2013-07-24 03:11:46 -0500 )edit

Yes you can use URDF files with gazebo.

nkoenig gravatar imagenkoenig ( 2013-07-24 09:05:19 -0500 )edit

answered 2013-07-22 08:45:09 -0500

Davinci gravatar image

Seems that your are loading an urdf file and gazebo has problems with. You are you loading an sdf file with this extension? You should add a robot and sdf element if its an sdf file.

edit flag offensive delete link more


Thank you very much!

tseco gravatar imagetseco ( 2013-07-24 01:52:39 -0500 )edit

Question Tools


Asked: 2013-07-22 07:32:36 -0500

Seen: 661 times

Last updated: Jul 23 '13