Gazebo | Ignition | Community
Ask Your Question

How to convert with gzsdf in Gazebo 1.2.5?

asked 2012-12-05 05:02:28 -0600

AndreiHaidu gravatar image


Could I get an example how to convert an sdf 1.0 to sdf 1.2 with the gzsdf tool?

gzsdf convert [sdf_file] when I run it like this:

$./gazebo/bin/gzsdf convert /home/<some_path>/models/spatula.sdf

gives me this ERROR: SDF parsing the xml failed

Thanks, Andrei

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-12-06 03:14:50 -0600

AndreiHaidu gravatar image

I figured it out, I did not $source setup.bash in the gazebo folder.

edit flag offensive delete link more


it didnt work. john@john-K53SD:/opt/ros/fuerte/stacks/simulatorgazebo/gazebo$ source setup.bash john@john-K53SD:/opt/ros/fuerte/stacks/simulatorgazebo/gazebo$ ./gazebo/bin/gzsdf convert /home/john/fuerteworkspace/sandbox/miurdf/01-myfirstyo.urdf

Error: Unknown option[convert]

Jey_316 gravatar imageJey_316 ( 2013-02-01 11:06:13 -0600 )edit

Can you post your SDF file?

nkoenig gravatar imagenkoenig ( 2013-02-04 19:54:55 -0600 )edit

Question Tools


Asked: 2012-12-05 05:02:28 -0600

Seen: 722 times

Last updated: Dec 06 '12