Robotics StackExchange | Archived questions

Resource not found: simulation_gazebo

I'm in a problem when running a world in gazebo. My "world.launch" file: <?xml version="1.0" encoding="UTF-8"?>

<!-- Start Gazebo with a blank world -->

<arg name="world_name" value="$(find my_worlds)/worlds/world01.world"/>

<arg name="debug" value="$(arg debug)" />

<arg name="gui" value="$(arg gui)" />

<arg name="paused" value="$(arg pause)"/>

<arg name="use_sim_time" value="true"/>

<arg name="headless" value="$(arg headless)"/> 

<env name="GAZEBO_MODEL_PATH" value="$(find simulation_gazebo)/models:$(optenv GAZEBO_MODEL_PATH)"/>

My problem is in below:

Resource not found: simulation_gazebo

ROS path [0]=/opt/ros/noetic/share/ros

ROS path [1]=/home/quyet/simulation_ws/src

ROS path [2]=/opt/ros/noetic/share

The traceback for the exception was written to the log file

Could anyone give me answers ? Thanks for your help!

Asked by quyetbui on 2021-12-29 04:27:15 UTC

Comments

Please edit your description to provide a url for the demo you have downloaded, and copy/paste the exact command line you used that generated the error message. You can edit using the "edit" button at the end of the description.

Asked by Mike Scheutzow on 2021-12-29 09:14:44 UTC

You did not provide either of the things I asked for.

Asked by Mike Scheutzow on 2021-12-30 10:56:05 UTC

Answers

Some hints, not truly an answer: Use the command rospack list | grep gazebo and check which ones you have for gazebo.

It is also important to check your $ROS_PACKAGE_PATH to make sure you have the libraries of ROS included in your environment.

Relevant question: https://answers.ros.org/question/353161/problem-resource-not-found/

P.S. Question is terribly formatted and hard to understand so it is shot in the dark.

Asked by ljaniec on 2022-01-15 14:54:15 UTC

Comments