Home | Tutorials | Wiki | Issues
Ask Your Question

How to include a model not located in .gazebo/models

asked 2020-01-12 15:33:58 -0600

JoelB gravatar image

updated 2020-01-15 08:48:51 -0600

I am trying to include a model in a world, but don't want the model to be in the .gazebo/models folder. How do I accomplish this? Here is what I have now. The file is field.xacro.

image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-01-15 15:08:40 -0600

caioaamaral gravatar image

Have you tried using :

package://$(find package_name)/...

Or if you are using ROS, check here how to export gazebo_media_path.

If not on ROS, check how to export GAZEBO_MODEL_PATH.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-01-12 15:33:58 -0600

Seen: 439 times

Last updated: Jan 15