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

ROS fuerte sdf

asked 2012-10-12 01:07:10 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi everybody,

I'm trying to switch between ROS electric and ROS fuerte. My problem is in launching the '.launch' file since the shell says that my model is deprecated (originally it was a '.xacro' file).

Does anybody know how to convert it into a new ROS format without rewriting by scratch my model?

Thank you,

Neostek

P.S. I also tried with the 'gzsdf' command following this guide

http://answers.ros.org/question/41766/gazebo-urdf-deprecated/

The real problem is the model misses some parts and the warning message 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 continues to appear

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2012-10-14 08:23:18 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

If the message you're seeing is a warning, check out this post

Otherwise, the way to convert from URDF to SDF is a 3 step process.

First, convert the xacro to an urdf using rosrun xacro xacro.py.

Then, from here,

rosrun gazebo urdf2model -f you_model.urdf -o old_gazebo_format.xml
roscd gazebo
source setup.bash
./gazebo/bin/gzsdf print old_gazebo_format.xml > your_model.sdf
edit flag offensive delete link more
0

answered 2012-10-12 06:21:29 -0500

joq gravatar image

ROS Fuerte includes a new 1.0 version of gazebo. There are some differences, documented there.

If you need more help, there is now a gazebo-specific Q&A site: http://answers.gazebosim.org

edit flag offensive delete link more
0

answered 2012-10-14 01:10:42 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I will post on the website you linked me.

In addition, if you have some ideas on how I can handle this problem, I thank you in advance.

Best regards,

Neostek

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-10-12 01:07:10 -0500

Seen: 793 times

Last updated: Oct 14 '12