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

asked 2021-01-17 15:59:04 -0600

BesterJester gravatar image

updated 2021-01-17 16:03:11 -0600

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 reopen merge delete

Closed for the following reason Gazebo Question: The Gazebo community prefers to answer questions at: by gvdhoorn
close date 2021-01-18 00:02:47.311053