Robotics StackExchange | Archived questions

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

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

Asked by JoelB on 2020-01-12 16:33:58 UTC

Comments

Answers

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.

Asked by caioaamaral on 2020-01-15 16:08:40 UTC

Comments