ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Cannot insert or see models even though gazebo_model_path is set

asked 2017-10-22 15:01:19 -0600

josiahl gravatar image

updated 2017-10-23 01:35:00 -0600

gvdhoorn gravatar image

I am having issues inserting custom models into gazebo. Here is my file structure:

  • lawnbot_ws
    • src
      • lawnbot_desription
        • models
          • grassplane
            • meshes
            • model.sdf and model.config
        • package.xml

Gazebo shows: /home/josiah/PycharmProjects/lawnbot_ws/src/lawnbot_description/models in the insert tab, however it does not show a drop down for actually inserting the grassplane model!

I also have the following line inserted in the package.xml file of the lawnbot_description package: <export> <gazebo_ros gazebo_plugin_path="${prefix}/lib" gazebo_model_path="${prefix}/models"/> </export>

I do not understand what is wrong. I am calling:

roslaunch gazebo_ros empty_world.launch extra_gazebo_args:="--verbose"

in the terminal and the gazebo_model_path shows: /home/josiah/PycharmProjects/lawnbot_ws/src/lawnbot_description/models

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-22 18:08:04 -0600

josiahl gravatar image

I found the problem. 1st, I had a typo in the xml


More annoying was that I found that the:

/home/josiah/.gazebo/gui.ini file retained my old path name:


which should have been:


Why did it never update the pathname? We may never know. Very frustrating, however now I am able to insert custom models into any world I choose.

edit flag offensive delete link more



This is really a Gazebo-specific question.

Please ask those over at in the future. You'll have a much higher chance of getting good answers there.

gvdhoorn gravatar image gvdhoorn  ( 2017-10-23 01:34:20 -0600 )edit

Please, you can share you package.xml and CMakeLists.txt for I learning more about this configuration?

Carlos Delfino gravatar image Carlos Delfino  ( 2018-12-17 08:24:12 -0600 )edit

Question Tools



Asked: 2017-10-22 15:01:19 -0600

Seen: 1,549 times

Last updated: Oct 22 '17