SDF files with Gazebo plugin for ROS? [closed]

asked 2012-11-06 04:53:51 -0500

Ammar gravatar image

updated 2014-01-28 17:14:10 -0500

ngrennan gravatar image

Hello All, I recently learned that URDF is being deprecated, being substituted by SDF. I have in the past used spawn_models node to introduce new models in my Gazebo environment. How do I spawn SDF models? I tried using the 'Open' option in the Gazebo world GUI but it gives me the following error:

Error [parser.cc:566] XML Element[static], child of element[model] not defined in SDF. Ignoring.[model] Error [parser.cc:557] Error reading element Error [parser.cc:340] Unable to parse sdf element[gazebo] Error [parser.cc:263] parse as old deprecated model file failed. Error [Server.cc:396] Unable to read sdf file[/opt/ros/fuerte/stacks/simulator_gazebo/gazebo_worlds/objects/first_robotv3.sdf]

The SDF file I am trying to load is exactly from the tutorials found here: http://gazebosim.org/wiki/Tutorials/1.2/build_robot/mobile_base

This should work with ROS as well right?

Please help. Thanks Ammar

edit retag flag offensive reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: http://answers.gazebosim.org by tfoote
close date 2015-06-29 02:13:30.988938

Comments

Please ask gazebo related questions at http://answers.gazebosim.org/

Lorenz gravatar image Lorenz  ( 2012-11-06 05:47:39 -0500 )edit

Sure. Thanks

Ammar gravatar image Ammar  ( 2012-11-06 06:23:47 -0500 )edit

Did you solve this problem? Having the same problem...

davinci gravatar image davinci  ( 2012-12-19 03:23:53 -0500 )edit

Nope! I gave up until a stable Gazebo+ROS version is out

Ammar gravatar image Ammar  ( 2012-12-21 07:07:26 -0500 )edit