Keep Getting "Error Code: 11 Msg: Unable to find uri[model://bin]" When Running Gazebo

asked 2021-01-18 06:13:41 -0500

BesterJester gravatar image

I am typing the Linux command, gazebo to try and start a gazebo simulation world. Gazebo doesn't open, but instead outputs the following error:

Error Code: 11 Msg: Unable to find uri[model://bin]

Below is a snippet of my file where I think the error is coming from

  <pose>-1.0 -1.5 0.5 0 0 3.1415</pose>
<model name="bin_1_tag">
  <pose>-1.0 -1.6875 0.63 0 0 3.1415</pose>
  <link name="link">
    <visual name="visual">
      <geometry><box><size>0.2 0.01 0.2</size></box></geometry>

I think the issue is something with the 4th line: <uri>model://bin</uri>. The bin directory it is referring to is located in ~/ws/src/stockroom_bot/worlds. This directory holds a model.config file (shown below) as well as my model.sdf file.

<?xml version="1.0"?>
  <sdf version="1.4">model.sdf</sdf>

I've also added the below code to my ./bashrc file. This way I can just type sb and it should source my .bash file and allow my code to reference my stockroom_bot package.

alias sb='source ~/ws/devel/setup.bash; \
export GAZEBO_MODEL_PATH=${HOME}/ws/src/stockroom_bot'

Any other guidance as to why my code can't seem to find my model.sdf file will be much appreciated.

Linux 5.3.0-62-generic #56 18.04.1-Ubuntu

edit retag flag offensive close merge delete


hello, I am having the same problem. Have you found any answer?

TheClem gravatar imageTheClem ( 2021-02-21 12:16:06 -0500 )edit