O'Reilly logo

ROS Robotics By Example by Dr. Thomas L. Harman, Carol Fairchild

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Controlling an articulated robot arm in Gazebo

The Modifications to the robot URDF section in Chapter 2, Creating Your First Two-Wheeled 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 in 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 friction coefficients for the contact surfaces for four of the robot's links
  • Plugin to control the revolute joints of rrbot (included here but described in the Adding a Gazebo ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required