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

Revision history [back]

What?

just now it started working like the way I thought it to..

Well in the package.xml you need:

<run_depend>gazebo_ros</run_depend>

<export>

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

What?

just now it started working like the way I thought it to..

Well in the package.xml you need:

<run_depend>gazebo_ros</run_depend>

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

<gazebo_ros gazebo_media_path="${prefix}"/>
</export>
and the folder structure is like this:

  • media
    • materials
    • scripts
    • texture

What?

just now it started working like the way I thought it to..

Well in the package.xml you need:

<run_depend>gazebo_ros</run_depend>

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

and the folder structure is like this:

  • media
    • materials
    • materials
      • scripts
      • texture

in the xacro file:

<gazebo reference="link">                           
<material>YourMaterial</material>
</gazebo>

What?

just now it started working like the way I thought it to..

Well in the package.xml you need:

<run_depend>gazebo_ros</run_depend>

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

and the folder structure is like this:

  • media
    • materials
      • scripts
      • texture

in the xacro file:

<gazebo reference="link">                           
<material>YourMaterial</material>
</gazebo>

I guess in the process I changed the folder structure multiple times, maybe I first missed the media folder.