Gazebo | Ignition | Community
Ask Your Question
2

Unable to convert from SDF version 1.5 to 1.4

asked 2014-12-13 13:47:12 -0500

akash gravatar image

When I run the commond: $roslaunch gazeboros empty_world.launch, I encountered such a warning (Converting a deprecated SDF source[data-string]) and such a error followed(Unable to convert from SDF version 1.5 to 1.4). The same thing happened with other .launch files, and nothing show on the gazebo GUI. I guess it's a version problem. My versions are gazebo-4.0 and ros indigo that run on Ubuntu 14.04. I can't figure out how to handle with such a problem and really need some help. Thanks.

edit retag flag offensive close merge delete

Comments

Can you clarify what packages you have installed, or whether you're building from source? What is the output of dpkg -l | grep gazebo?

scpeters gravatar imagescpeters ( 2014-12-15 18:20:08 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
1

answered 2015-02-27 19:57:32 -0500

crazymumu gravatar image

updated 2015-02-27 19:58:15 -0500

1:$ gazebo;

2:$ cd ~/.gazebo/models/Yourworldname

3:$ gedit model.config
Add this line : <sdf version="1.4">model.sdf</sdf>

4: $ gedit model.sdf
Change to this line :<sdf version="1.4">

edit flag offensive delete link more
0

answered 2014-12-14 04:25:41 -0500

scpeters gravatar image

It sounds like you have an old sdformat installed. Can you try installing libsdformat2-dev?

edit flag offensive delete link more
0

answered 2014-12-14 07:00:17 -0500

akash gravatar image

installing libsdformat2-dev --- didnot work for me

Below I am directly copying what appears on my command-line when I try to roslaunch empty_world.launch

akash@akash-Lenovo-Z580:~$ roslaunch gazeboros emptyworld.launch ... logging to /home/akash/.ros/log/419a1832-838e-11e4-95de-08edb9a09b47/roslaunch-akash-Lenovo-Z580-4074.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://akash-Lenovo-Z580:45402/

SUMMARY

PARAMETERS * /rosdistro: indigo * /rosversion: 1.11.9 * /usesimtime: True

NODES / gazebo (gazeboros/gzserver) gazebogui (gazebo_ros/gzclient)

ROSMASTERURI=http://localhost:11311

core service [/rosout] found process[gazebo-1]: started with pid [4092] process[gazebogui-2]: started with pid [4098] Error [Converter.cc:127] Unable to convert from SDF version 1.5 to 1.4 Error [Converter.cc:127] Unable to convert from SDF version 1.5 to 1.4 Error [Converter.cc:127] Unable to convert from SDF version 1.5 to 1.4 Warning [parser.cc:396] Converting a deprecated SDF source[data-string]. Error [Converter.cc:127] Unable to convert from SDF version 1.5 to 1.4 Warning [parser.cc:396] Converting a deprecated SDF source[data-string]. Error [Converter.cc:127] Unable to convert from SDF version 1.5 to 1.4 [gazebogui-2] process has finished cleanly log file: /home/akash/.ros/log/419a1832-838e-11e4-95de-08edb9a09b47/gazebo_gui-2*.log

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-12-13 13:47:12 -0500

Seen: 8,407 times

Last updated: Feb 27 '15