Mastering ROS for Robotics Programming
上QQ阅读APP看书,第一时间看更新

Creating the robot description for a seven DOF robot manipulator

Now, we can create some complex robots using URDF and xacro. The first robot we are going to deal with is a seven DOF robotic arm, which is a serial link manipulator having multiple serial links. The seven DOF arm is kinematically redundant, which means it has more joints and DOF than required to achieve its goal position and orientation. The advantage of redundant manipulators are, we can have more joint configuration for a particular goal position and orientation. It will improve the flexibility and versatility of the robot movement and can implement effective collision free motion in a robotic workspace.

Let's start creating the seven DOF arm; the final output model of the robot arm is shown here (the various joints and links in the robot are also marked on the image):

Figure 8 : Joints and Links of seven dof arm robot

The preceding robot is described using xacro. We can take the actual description file from the cloned repository. We can navigate to the urdf folder inside the cloned package and open the seven_dof_arm.xacro file. We will copy and paste the description to the current package and discuss the major section of this robot description.

Arm specification

Here is the robot arm specification of this seven DOF arm:

  • Degrees of freedom: 7
  • Length of arm: 50 cm
  • Reach of the arm: 35 cm
  • Number of links: 12
  • Number of joints: 11

Type of joints

Here is the list of joints containing the joint name and its type of robot:

We design the xacro of the arm using the preceding specifications; here is the explanation of the arm xacro file.