Debian Codegraph @

data/skel/test/test_articulated_bodies.skel

raw
1 <?xml version="1.0" ?>
2 <skel version="1.0">
3 <world name="world 1">
4 <physics>
5 <time_step>0.001</time_step>
6 <gravity>0 -9.81 0</gravity>
7 <collision_detector>fcl_mesh</collision_detector>
8 </physics>
9
10 <skeleton name="ground skeleton">
11 <body name="ground">
12 <transformation>0 -0.375 0 0 0 0</transformation>
13 <visualization_shape>
14 <transformation>0 0 0 0 0 0</transformation>
15 <geometry>
16 <box>
17 <size>2.5 0.05 2.5</size>
18 </box>
19 </geometry>
20 <color>0.95 0.95 0.95</color>
21 </visualization_shape>
22 <collision_shape>
23 <transformation>0 0 0 0 0 0</transformation>
24 <geometry>
25 <box>
26 <size>2.5 0.05 2.5</size>
27 </box>
28 </geometry>
29 </collision_shape>
30 </body>
31 <joint type="weld" name="joint 1">
32 <parent>world</parent>
33 <child>ground</child>
34 </joint>
35 </skeleton>
36
37 <skeleton name="skeleton 1">
38 <body name="link 1">
39 <gravity>1</gravity>
40 <transformation>0 0.5 0 0 0 0</transformation>
41 <inertia>
42 <mass>0.1</mass>
43 <offset>0 0 0</offset>
44 </inertia>
45 <soft_shape>
46 <total_mass>0.5</total_mass>
47 <geometry>
48 <box>
49 <size>0.1 0.5 0.1</size>
50 <frags>3 3 3</frags>
51 </box>
52 </geometry>
53 <kv>500.0</kv>
54 <ke>10.0</ke>
55 <damp>5.0</damp>
56 </soft_shape>
57 <visualization_shape>
58 <geometry>
59 <box>
60 <size>0.075 0.375 0.075</size>
61 </box>
62 </geometry>
63 </visualization_shape>
64 <collision_shape>
65 <geometry>
66 <box>
67 <size>0.075 0.375 0.075</size>
68 </box>
69 </geometry>
70 </collision_shape>
71 </body>
72 <body name="link 2">
73 <gravity>1</gravity>
74 <transformation>0 -0.0 0 0 0 0</transformation>
75 <inertia>
76 <mass>0.1</mass>
77 <offset>0 0 0</offset>
78 </inertia>
79 <visualization_shape>
80 <geometry>
81 <box>
82 <size>0.075 0.375 0.075</size>
83 </box>
84 </geometry>
85 </visualization_shape>
86 <collision_shape>
87 <geometry>
88 <box>
89 <size>0.075 0.375 0.075</size>
90 </box>
91 </geometry>
92 </collision_shape>
93 </body>
94 <joint type="free" name="joint 1">
95 <parent>world</parent>
96 <child>link 1</child>
97 <axis>
98 <xyz>0 0 1</xyz>
99 </axis>
100 <transformation>0 0.25 0 0 0 0</transformation>
101 </joint>
102 <joint type="ball" name="joint 2">
103 <parent>link 1</parent>
104 <child>link 2</child>
105 <axis>
106 <xyz>0 0 1</xyz>
107 </axis>
108 <transformation>0 0.25 0 0 0 0</transformation>
109 </joint>
110 </skeleton>
111 </world>
112 </skel>