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

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.

主站蜘蛛池模板: 聂拉木县| 肥东县| 武邑县| 池州市| 噶尔县| 塔河县| 正宁县| 顺昌县| 容城县| 枣庄市| 老河口市| 曲水县| 临朐县| 时尚| 合阳县| 福州市| 启东市| 阿瓦提县| 虎林市| 伊金霍洛旗| 阿拉善右旗| 友谊县| 丽江市| 崇明县| 龙海市| 安平县| 林西县| 原阳县| 宁明县| 兴化市| 长宁区| 柘城县| 惠州市| 海盐县| 呼伦贝尔市| 灌南县| 开原市| 永和县| 牡丹江市| 曲周县| 扎囊县|