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

<surface> <friction> <ode> is not link or joint tag. This is gazebo tag. So, you use this tag at the end of urdf file as below:

<gazebo reference="base_link">
  <mu1>1</mu1>
  <mu2>1</mu2>
  <material>Gazebo/Black</material>
</gazebo>

For detail information, link text

<surface> <friction> <ode> is not link or joint tag. This is gazebo tag. So, you use this tag at the end of urdf file as below:

<gazebo reference="base_link">
  <mu1>1</mu1>
  <mu2>1</mu2>
  <material>Gazebo/Black</material>
</gazebo>

For detail information, link text friction, ode work with Gazebo. But below your code dont work:

Also, you use

    <material>
     <texture filename="package://grid3/src/mesh/Screenshot from 2021-07-30 15-50-19.png"/>
   </material>

try below code:

    <material name="black">
      <color rgba="0 0 0 1.0"/>
    </material>

if you want add texture to model for Gazebo, you look How do i add texture(.png file) in urdf