-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDP-2.urdf
More file actions
35 lines (30 loc) · 884 Bytes
/
Copy pathDP-2.urdf
File metadata and controls
35 lines (30 loc) · 884 Bytes
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
<?xml version="1.0"?>
<robot name="DoublePendulum2">
<link name="upper_arm">
<!-- add a point mass 1 meter below the frame -->
<inertial>
<origin xyz="0 0 -1" rpy="0 0 0" />
<mass value="1" />
<inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0"/>
</inertial>
</link>
<link name="lower_arm">
<inertial>
<origin xyz="0 0 -1" rpy="0 0 0" />
<mass value="1" />
<inertia ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0"/>
</inertial>
</link>
<joint name="shoulder" type="revolute">
<parent link="world"/>
<child link="upper_arm" />
<axis xyz="0 1 0" />S
<origin xyz="0 0 0" />
</joint>
<joint name="elbow" type="revolute">
<parent link="upper_arm"/>
<child link="lower_arm" />
<axis xyz="0 1 0" />
<origin xyz="0 0 -1" />
</joint>
</robot>