Robotics StackExchange | Archived questions

how to change the colors of links in the sdf file

i have this link,i tried but nothing changed


-0.005 0 0 0 0 0 0.015 0.08 0.022 196 245 39 1.0 0 0 0 1.0 0.0 0.0 0.0 1.0 0.0 0.0 1.0

Asked by mahmoud tamimi on 2022-05-18 07:44:06 UTC

Comments

Answers

Defining colors using numbers can sometimes be confusing, you can try out some colors defined in gazebo materials

         <material>
            <script>
               <uri>file://media/materials/scripts/gazebo.material</uri>
               <name>Gazebo/Red</name>
            </script>
          </material>

Asked by lapyx on 2022-05-18 13:55:14 UTC

Comments