Home | Tutorials | Wiki | Issues
Ask Your Question

How to add custom mesh to world from a different package

asked 2014-10-20 12:06:21 -0500

athackst gravatar image

updated 2014-10-21 10:28:29 -0500

The tutorial mentions that you can add a custom mesh if it is in the same folder as the world file, but not if it is in a different folder/package. Is there a way to do this? I've tried adding the path to GAZEBO_RESOURCES_PATH, but that doesn't seem to work.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-21 10:41:46 -0500

athackst gravatar image

I found the secret sauce:

in package.xml:

  <gazebo_ros gazebo_media_path="${prefix}" />

then in the world file:


I had to change model:// to file:// here.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2014-10-20 12:06:21 -0500

Seen: 177 times

Last updated: Oct 21 '14