Debian Codegraph @

data/skel/test/chainwhipa.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 <skeleton name="skeleton 1">
10 <body name="link 1">
11 <gravity>1</gravity>
12 <transformation>0 0 0 0 0 0</transformation>
13 <inertia>
14 <mass>3.0</mass>
15 <offset>0 -0.2 0</offset>
16 </inertia>
17 <visualization_shape>
18 <transformation>0 -0.2 0 0 0 0</transformation>
19 <geometry>
20 <box>
21 <size>0.08 0.4 0.08</size>
22 </box>
23 </geometry>
24 </visualization_shape>
25 </body>
26 <body name="link 2">
27 <gravity>1</gravity>
28 <transformation>0 -0.4 0 0 0 0</transformation>
29 <inertia>
30 <mass>20.0</mass>
31 <offset>0 -0.3 0</offset>
32 </inertia>
33 <visualization_shape>
34 <transformation>0 -0.3 0 0 0 0</transformation>
35 <geometry>
36 <box>
37 <size>0.12 0.6 0.12</size>
38 </box>
39 </geometry>
40 </visualization_shape>
41 </body>
42 <body name="link 3">
43 <gravity>1</gravity>
44 <transformation>0 -1.0 0 0 0 0</transformation>
45 <inertia>
46 <mass>2.0</mass>
47 <offset>0 -0.3 0</offset>
48 </inertia>
49 <visualization_shape>
50 <transformation>0 -0.3 0 0 0 0</transformation>
51 <geometry>
52 <box>
53 <size>0.12 0.6 0.12</size>
54 </box>
55 </geometry>
56 </visualization_shape>
57 </body>
58
59 <joint type="euler" name="joint 1">
60 <parent>world</parent>
61 <child>link 1</child>
62 <axis_order>zyx</axis_order>
63 <transformation>0 0 0 0 0 0</transformation>
64 <axis>
65 <limit>
66 <lower>0.0000</lower>
67 <upper>3.1416</upper>
68 </limit>
69 </axis>
70 <axis2>
71 <limit>
72 <lower>0.0000</lower>
73 <upper>3.1416</upper>
74 </limit>
75 </axis2>
76 <axis3>
77 <limit>
78 <lower>0.0000</lower>
79 <upper>3.1416</upper>
80 </limit>
81 </axis3>
82 </joint>
83 <joint type="euler" name="joint 2">
84 <parent>link 1</parent>
85 <child>link 2</child>
86 <axis_order>zyx</axis_order>
87 <transformation>0 0 0 0 0 0</transformation>
88 <axis>
89 <limit>
90 <lower>0.0000</lower>
91 <upper>3.1416</upper>
92 </limit>
93 </axis>
94 <axis2>
95 <limit>
96 <lower>0.0000</lower>
97 <upper>3.1416</upper>
98 </limit>
99 </axis2>
100 <axis3>
101 <limit>
102 <lower>0.0000</lower>
103 <upper>3.1416</upper>
104 </limit>
105 </axis3>
106 </joint>
107 <joint type="euler" name="joint 3">
108 <parent>link 2</parent>
109 <child>link 3</child>
110 <axis_order>zyx</axis_order>
111 <transformation>0 0 0 0 0 0</transformation>
112 <axis>
113 <limit>
114 <lower>0.0000</lower>
115 <upper>3.1416</upper>
116 </limit>
117 </axis>
118 <axis2>
119 <limit>
120 <lower>0.0000</lower>
121 <upper>3.1416</upper>
122 </limit>
123 </axis2>
124 <axis3>
125 <limit>
126 <lower>0.0000</lower>
127 <upper>3.1416</upper>
128 </limit>
129 </axis3>
130 </joint>
131
132 </skeleton>
133 </world>
134 </skel>
135
136 <!--
137 dofs {
138 root_len { 0.0, 0.0000, 1.0000 }
139 hip_euler_z { 0.0, 0.0000, 3.1416 }
140 hip_euler_y { 0.0, 0.0000, 3.1416 }
141 hip_euler_x { 0.0, 0.0000, 3.1416 }
142 hip_len { 0.4000, 0.0000, 1.0000 }
143 thigh_euler_z { 0.0, 0.0000, 3.1416 }
144 thigh_euler_y { 0.0, 0.0000, 3.1416 }
145 thigh_euler_x { 0.0, 0.0000, 3.1416 }
146 thigh_len { 0.6000, 0.0000, 1.0000 }
147 shin_euler_z { 0.0, 0.0000, 3.1416 }
148 shin_euler_y { 0.0, 0.0000, 3.1416 }
149 shin_euler_x { 0.0, 0.0000, 3.1416 }
150 shin_len { 0.6000, 0.0000, 1.0000 }
151 }
152
153 mass {
154 total_mass { 25.0000 }
155 hip_mass { 3.0000 }
156 thigh_mass { 20.0000 }
157 shin_mass { 2.0000 }
158 }
159
160 node hip { 0
161 chain { 3
162 telescope { <0.0000,0.0000,0.0000>, root_len}
163 rotate_euler { hip_euler_z, z }
164 rotate_euler { hip_euler_y, y }
165 rotate_euler { hip_euler_x, x }
166 }
167 primitive { <0.2000,1.0000,0.2000>, <0.0000,-0.5000,0.0000>, hip_len, hip_mass }
168
169 node thigh { 1
170 chain { 3
171 telescope { <0.0000,-1.0000,0.0000>, hip_len }
172 rotate_euler { thigh_euler_z, z }
173 rotate_euler { thigh_euler_y, y }
174 rotate_euler { thigh_euler_x, x }
175 }
176 primitive { <0.2000,1.0000,0.2000>, <0.0000,-0.5000,0.0000>, thigh_len, thigh_mass }
177
178 node shin { 2
179 chain { 3
180 telescope { <0.0000,-1.0000,0.0000>, thigh_len }
181 rotate_euler { shin_euler_z, z }
182 rotate_euler { shin_euler_y, y }
183 rotate_euler { shin_euler_x, x }
184 }
185 primitive { <0.2000,1.0000,0.2000>, <0.0000,-0.5000,0.0000>, shin_len, shin_mass }
186 }
187 }
188
189 }
190 handles {
191 R { <0.0000,0.0000,0.0000>, 1, hip }
192 }
193 -->