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

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.

主站蜘蛛池模板: 伊通| 宁远县| 探索| 云霄县| 安图县| 米易县| 定兴县| 建水县| 陕西省| 西充县| 岱山县| 涿鹿县| 驻马店市| 沁源县| 泌阳县| 天气| 岐山县| 惠安县| 西乡县| 永德县| 社旗县| 蓬溪县| 远安县| 彭山县| 金沙县| 阿克苏市| 宁津县| 巴彦县| 大连市| 乌拉特后旗| 淄博市| 禹州市| 夏邑县| 康平县| 无为县| 田阳县| 雅安市| 凤翔县| 建平县| 上思县| 蕉岭县|