Revision history [back]

relative path to material file

Hello everybody, I am trying to add some custom materials. To do this I used the <uri> tag in the following way

    <material>
<script>
<uri>file:///home/mago/Development/hydro/src/ugv_description/Media/materials.material</uri>
<name>materials/Black</name>
</script>
</material>


However, the project is shared via some repositories and I want the other users to run the simulations without having to change the path to the script. The materials are defined in a ROS package that is shared as well, and I would like to reference it in the SDF file. Is there any way of doing this? Thank you, Andrea