Home | Tutorials | Wiki | Issues
Ask Your Question
0

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

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

gazer gravatar image

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

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
2

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

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

Comments

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 -0500 )edit
piyushk gravatar imagepiyushk ( 2013-05-14 12:06:41 -0500 )edit

thank you very much!

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

Question Tools

Stats

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

Seen: 5,522 times

Last updated: May 14 '13