Controlling an articulated robot arm in Gazebo

The Modifications to the robot URDF section in Chapter 2, Creating Your First Two-Wheeled ROS Robot (in Simulation), describes changes that need to be made to the URDF model so that Gazebo recognizes it as an SDF. The next section identifies the changes needed for our robot arm, rrbot.

Adding Gazebo-specific elements

Specific elements unique to the Gazebo simulation environment are grouped into the following areas:

  • The <material> tags are used to specify the Gazebo color or texture for each link
  • The <mu1> and <mu2> tags are used to define the friction coefficients for the contact surfaces of four of the robot's links
  • A plugin is added for control of the revolute joints of rrbot (included here, but described ...

Get ROS Robotics By Example - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.