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

Revision history [back]

click to hide/show revision 1
initial version

I noticed you correctly added 'gazebo' as a dependency which adds <depend package="gazebo"/> in the packages manifest. In addition to this, you need to add your package to Gazebo's media path inside of the package's manifest. Add the following to your manifest.xml:

<export>
    <gazebo gazebo_media_path="${prefix}" />
</export>

After this, rebuild the package and Gazebo should find your folders. This way, you won't need <env name="GAZEBO_RESOURCE_PATH" value="$(find gazebo_tutorials)/Media/scripts:$(find pr2_ogre):$(find gazebo)/gazebo/share/gazebo" /> inside your launch file as well.