官术网_书友最值得收藏!

Understanding robot modeling using URDF

We have discussed the urdf package. In this section, we will look further at the URDF XML tags, which help to model the robot. We have to create a file and write the relationship between each link and joint in the robot and save the file with the .urdf extension.

The URDF can represent the kinematic and dynamic description of the robot, visual representation of the robot, and the collision model of the robot.

The following tags are the commonly used URDF tags to compose a URDF robot model:

  • link: The link tag represents a single link of a robot. Using this tag, we can model a robot link and its properties. The modeling includes size, shape, color, and can even import a 3D mesh to represent the robot link. We can also provide dynamic properties of the link such as inertial matrix and collision properties.

    The syntax is as follows:

    <link name="<name of the link>">
    <inertial>...........</inertial>
      <visual> ............</visual>
      <collision>..........</collision>
    </link>

    The following is a representation of a single link. The Visual section represents the real link of the robot, and the area surrounding the real link is the Collision section. The Collision section encapsulates the real link to detect collision before hitting the real link.

    Figure 1 : Visualization of a URDF link

  • joint: The joint tag represents a robot joint. We can specify the kinematics and dynamics of the joint and also set the limits of the joint movement and its velocity. The joint tag supports the different types of joints such as revolute, continuous, prismatic, fixed, floating, and planar.

    The syntax is as follows:

    <joint name="<name of the joint>">
      <parent link="link1"/>
      <child link="link2"/>
      
      <calibration .... />
      <dynamics damping ..../>
      <limit effort .... />
    </joint>

    A URDF joint is formed between two links; the first is called the Parent link and the second is the Child link. The following is an illustration of a joint and its link:

    Figure 2 : Visualization of a URDF joint

  • robot: This tag encapsulates the entire robot model that can be represented using URDF. Inside the robot tag, we can define the name of the robot, the links, and the joints of the robot.

    The syntax is as follows:

    <robot name="<name of the robot>"
      <link>  ..... </link>
      <link> ...... </link>
    
      <joint> ....... </joint>
      <joint> ........</joint>
    </robot>

    A robot model consists of connected links and joints. Here is a visualization of the robot model:

    Figure 3 : Visualization of a robot model having joints and links

  • gazebo: This tag is used when we include the simulation parameters of the Gazebo simulator inside URDF. We can use this tag to include gazebo plugins, gazebo material properties, and so on. The following shows an example using gazebo tags:
      <gazebo reference="link_1">
        <material>Gazebo/Black</material>
     </gazebo>

    We can find more URDF tags at http://wiki.ros.org/urdf/XML.

主站蜘蛛池模板: 岫岩| 同心县| 阿坝县| 高邮市| 汪清县| 南陵县| 武穴市| 招远市| 长海县| 汉沽区| 萨嘎县| 犍为县| 扬中市| 贡觉县| 白河县| 墨江| 偃师市| 连山| 蒙阴县| 房山区| 新泰市| 宁夏| 股票| 贵定县| 铜山县| 若羌县| 宜兴市| 平湖市| 昭觉县| 垫江县| 昌江| 香港 | 黄骅市| 蒲城县| 淳安县| 鲁山县| 商都县| 胶州市| 玉田县| 兴隆县| 江都市|