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

Adding physical and collision properties to a URDF model

Before simulating a robot in a robot simulator, such as Gazebo, V-REP, and so on, we need to define the robot link's physical properties such as geometry, color, mass, and inertia, and the collision properties of the link.

We will only get good simulation results if we define all these properties inside the robot model. URDF provides tags to include all these parameters and code snippets of base_link contained in theses properties as given here:

<link>
......    
<collision>
      <geometry>
      <cylinder length="0.03" radius="0.2"/>
      </geometry>
      <origin rpy="0 0 0" xyz="0 0 0"/>
    </collision>

    <inertial>
    <mass value="1"/>
    <inertia ixx="1.0" ixy="0.0" ixz="0.0" iyy="1.0" iyz="0.0" izz="1.0"/>
    </inertial>
...........
</link>

Here, we define the collision geometry as cylinder and the mass as 1 Kg, and we also set the inertial matrix of the link.

The collision and inertia parameters are required in each link; otherwise, Gazebo will not load the robot model properly.

主站蜘蛛池模板: 邹城市| 二手房| 忻城县| 敦化市| 攀枝花市| 广丰县| 和林格尔县| 陇南市| 平邑县| 额济纳旗| 建始县| 廉江市| 广汉市| 南华县| 彩票| 文安县| 凤凰县| 苗栗县| 延安市| 安龙县| 岱山县| 北票市| 昌乐县| 阳山县| 抚松县| 双辽市| 江北区| 新沂市| 门源| 衢州市| 湖南省| 竹北市| 安远县| 浠水县| 微博| 昂仁县| 桦南县| 剑川县| 大化| 绥江县| 保亭|