Home | Tutorials | Wiki | Issues
Ask Your Question

please help!, how to open .urdf.xacro file in Gazebo?

asked 2013-05-13 18:02:28 -0600

gazer gravatar image

updated 2013-05-14 11:47:50 -0600

Hello all.

I have to load a .urdf.xacro file using the latest version of gazebo. The file of my interested is :https://github.com/utexas-bwi/segbot/tree/master/segbot_description.

Using Gazebo 1.7, I have no idea how to open up a .urdf.xacro file. Do I have to convert it first to sdf or do I open it directly? How do I do that?

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-05-14 11:54:35 -0600

piyushk gravatar image

You'll need to run xacro to convert the file to urdf, which Gazebo can handle. This is easy to do if you have ROS installed:

rosrun xacro xacro.py <xacro file here>

If you don't have ROS installed, I can't think of an easy way. Let me know and I'll post the converted file. That file will undergo some changes in the upcoming week that you won't get if I do so (I maintain the segbot stack).

edit flag offensive delete link more


thank you for your reply. I do have ros installed. I still have trouble open up the urdf file under Gazebo 1.7.......

gazer gravatar imagegazer ( 2013-05-14 11:59:57 -0600 )edit
piyushk gravatar imagepiyushk ( 2013-05-14 12:06:41 -0600 )edit

thank you very much!

gazer gravatar imagegazer ( 2013-05-16 18:28:08 -0600 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-05-13 18:02:28 -0600

Seen: 3,957 times

Last updated: May 14 '13