how to add image to model.urdf.xacro
I'm trying to add an arcuo-marker (*.png file) to a simple model (box) in urdf. I realize there are quite a few posts related to this but I couldn't make them work for me. Can anyone point me in the right direction? Thank you
<?xml version="1.0"?>
<robot name="rrbot" xmlns:xacro="http://www.ros.org/wiki/xacro">
<xacro:property name="PI" value="3.1415926535897931"/>
<xacro:property name="mass" value="1" />
<xacro:property name="length" value="1." />
<xacro:property name="width" value="0.5" />
<xacro:property name="height" value="0.2" />
<!-- Base Link -->
<link name="box">
<collision>
<origin xyz="0 0 ${height/2}" rpy="0 0 0"/>
<geometry>
<box size="${length} ${width} ${height}"/>
</geometry>
</collision>
<visual>
<origin xyz="0 0 ${height/2}" rpy="0 0 0"/>
<geometry>
<box size="${length} ${width} ${height}"/>
</geometry>
<material name="red"/>
</visual>
<inertial>
<origin xyz="0 0 ${height/2}" rpy="0 0 0"/>
<mass value="${mass}"/>
<inertia ixx="0.1" ixy="0.0" ixz="0.0" iyy="0.1" iyz="0.0" izz="0.4"/>
</inertial>
</link>
<gazebo reference="box">
<material>YourMaterialName</material> <!-- how should i include an image here -->
</gazebo>
</robot>
please give the solutions you have tried.