File size: 4,048 Bytes
33956db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<?xml version="1.0" encoding="utf-8"?>
<!-- This URDF was automatically created by SolidWorks to URDF Exporter! Originally created by Stephen Brawner (brawner@gmail.com)

     Commit Version: 1.5.1-0-g916b5db  Build Version: 1.5.7152.31018

     For more information, please see http://wiki.ros.org/sw_urdf_exporter -->
<robot

  name="2dof_planar">
  <link

    name="base_link">
    <inertial>
      <origin

        xyz="0.0030299 2.6279E-13 0.02912"

        rpy="0 0 0" />
      <mass

        value="0.10159" />
      <inertia

        ixx="2.636E-05"

        ixy="-1.007E-16"

        ixz="-2.3835E-06"

        iyy="1.8042E-05"

        iyz="-4.6617E-09"

        izz="1.8795E-05" />
    </inertial>
    <visual>
      <origin

        xyz="0 0 0"

        rpy="0 0 0" />
      <geometry>
        <mesh

          filename="package://example-robot-data/robots/double_pendulum_description/meshes/base_link.stl" />
      </geometry>
      <material

        name="">
        <color

          rgba="0.96078 1 0 1" />
      </material>
    </visual>
    <collision>
      <origin

        xyz="0 0 0"

        rpy="0 0 0" />
      <geometry>
        <mesh

          filename="package://example-robot-data/robots/double_pendulum_description/meshes/base_link.stl" />
      </geometry>
    </collision>
  </link>
  <link

    name="link1">
    <inertial>
      <origin

        xyz="0.0086107 2.1727E-06 0.036012"

        rpy="0 0 0" />
      <mass

        value="0.26703" />
      <inertia

        ixx="0.00040827"

        ixy="1.2675E-09"

        ixz="1.8738E-05"

        iyy="0.00038791"

        iyz="3.5443E-08"

        izz="3.6421E-05" />
    </inertial>
    <visual>
      <origin

        xyz="0 0 0"

        rpy="0 0 0" />
      <geometry>
        <mesh

          filename="package://example-robot-data/robots/double_pendulum_description/meshes/link1.stl" />
      </geometry>
      <material

        name="">
        <color

          rgba="0.64706 0.61961 0.58824 1" />
      </material>
    </visual>
    <collision>
      <origin

        xyz="0 0 0"

        rpy="0 0 0" />
      <geometry>
        <mesh

          filename="package://example-robot-data/robots/double_pendulum_description/meshes/link1.stl" />
      </geometry>
    </collision>
  </link>
  <joint

    name="joint1"

    type="revolute">
    <origin

      xyz="0.0060872 0 0.035"

      rpy="0 0 0" />
    <parent

      link="base_link" />
    <child

      link="link1" />
    <axis

      xyz="1 0 0" />
    <limit

      lower="0"

      upper="0"

      effort="0"

      velocity="0" />
    <dynamics

      damping="0.05" />
  </joint>
  <link

    name="link2">
    <inertial>
      <origin

        xyz="-0.0050107 1.9371E-10 0.10088"

        rpy="0 0 0" />
      <mass

        value="0.33238" />
      <inertia

        ixx="0.0011753"

        ixy="-3.854E-13"

        ixz="-2.9304E-08"

        iyy="0.0011666"

        iyz="-5.2365E-12"

        izz="1.4553E-05" />
    </inertial>
    <visual>
      <origin

        xyz="0 0 0"

        rpy="0 0 0" />
      <geometry>
        <mesh

          filename="package://example-robot-data/robots/double_pendulum_description/meshes/link2.stl" />
      </geometry>
      <material

        name="">
        <color

          rgba="0.64706 0.61961 0.58824 1" />
      </material>
    </visual>
    <collision>
      <origin

        xyz="0 0 0"

        rpy="0 0 0" />
      <geometry>
        <mesh

          filename="package://example-robot-data/robots/double_pendulum_description/meshes/link2.stl" />
      </geometry>
    </collision>
  </link>
  <joint

    name="joint2"

    type="revolute">
    <origin

      xyz="0.023 0 0.1"

      rpy="0 0 0" />
    <parent

      link="link1" />
    <child

      link="link2" />
    <axis

      xyz="1 0 0" />
    <limit

      lower="0"

      upper="0"

      effort="0"

      velocity="0" />
    <dynamics

      damping="0.05" />
  </joint>
</robot>