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

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.

主站蜘蛛池模板: 台南市| 崇左市| 闽侯县| 麻阳| 宁晋县| 唐山市| 邢台市| 晋州市| 呼和浩特市| 宁都县| 秦皇岛市| 体育| 天门市| 长汀县| 沂南县| 古田县| 屯昌县| 克什克腾旗| 灵川县| 静海县| 醴陵市| 阿克苏市| 三亚市| 额济纳旗| 怀集县| 吉木萨尔县| 资溪县| 青川县| 龙胜| 巧家县| 张北县| 苍山县| 西华县| 丹棱县| 富顺县| 台北县| 八宿县| 山东| 娄烦县| 古浪县| 成安县|