Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save josephcoombe/a655b95a57e78496729beed00bb863a7 to your computer and use it in GitHub Desktop.

Select an option

Save josephcoombe/a655b95a57e78496729beed00bb863a7 to your computer and use it in GitHub Desktop.

Revisions

  1. josephcoombe revised this gist Oct 18, 2021. 2 changed files with 28 additions and 3 deletions.
    3 changes: 0 additions & 3 deletions gazebo_uri_paths_to_mesh_files_in_ros_packages.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +0,0 @@
    https://stackoverflow.com/a/53759308
    https://answers.gazebosim.org//question/6416/using_a_urdf_in_gazebo-package-uris-not-described/?answer=6419#post-id-6419
    https://answers.ros.org/question/195402/creating-custom-gazebo-world-files-from-sdfsdaes-for-use-with-roslaunch/?answer=357489#post-id-357489
    28 changes: 28 additions & 0 deletions gazebo_uri_paths_to_mesh_files_in_ros_packages.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    <!--
    https://stackoverflow.com/a/53759308
    https://answers.gazebosim.org//question/6416/using_a_urdf_in_gazebo-package-uris-not-described/?answer=6419#post-id-6419
    https://answers.ros.org/question/195402/creating-custom-gazebo-world-files-from-sdfsdaes-for-use-with-roslaunch/?answer=357489#post-id-357489
    -->

    <package>
    <!-- The *depend tags are used to specify dependencies -->
    <!-- Dependencies can be catkin packages or system dependencies -->
    <buildtool_depend>catkin</buildtool_depend>
    <exec_depend>gazebo_ros</exec_depend>

    <!-- The export tag contains other, unspecified, tags -->
    <export>
    <gazebo_ros gazebo_model_path="${prefix}/world/meshes"/>
    <gazebo_ros gazebo_media_path="${prefix}/world/meshes"/>
    <gazebo_ros gazebo_resource_path="${prefix}/world/meshes"/>
    </export>
    </package>

    <!--
    <geometry>
    <mesh>
    <uri>model://gvr_bot_water_tank_terrain001.stl</uri>
    <scale>0.001 0.001 0.001</scale>
    </mesh>
    </geometry>
    -->
  2. josephcoombe renamed this gist Oct 18, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. josephcoombe revised this gist Oct 18, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion notes.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    https://stackoverflow.com/a/53759308
    https://answers.gazebosim.org//question/6416/using_a_urdf_in_gazebo-package-uris-not-described/?answer=6419#post-id-6419
    https://answers.ros.org/question/195402/creating-custom-gazebo-world-files-from-sdfsdaes-for-use-with-roslaunch/
    https://answers.ros.org/question/195402/creating-custom-gazebo-world-files-from-sdfsdaes-for-use-with-roslaunch/?answer=357489#post-id-357489
  4. josephcoombe created this gist Oct 18, 2021.
    3 changes: 3 additions & 0 deletions notes.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    https://stackoverflow.com/a/53759308
    https://answers.gazebosim.org//question/6416/using_a_urdf_in_gazebo-package-uris-not-described/?answer=6419#post-id-6419
    https://answers.ros.org/question/195402/creating-custom-gazebo-world-files-from-sdfsdaes-for-use-with-roslaunch/