Debian Codegraph @

data/skel/test/joint_dynamics_elements_test.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>5</mass>
15 <offset>0 0.5 0</offset>
16 </inertia>
17 <visualization_shape>
18 <transformation>0 0.5 0 0 0 0</transformation>
19 <geometry>
20 <box>
21 <size>0.1 1.0 0.1</size>
22 </box>
23 </geometry>
24 </visualization_shape>
25 <collision_shape>
26 <transformation>0 0.5 0 0 0 0</transformation>
27 <geometry>
28 <box>
29 <size>0.1 1.0 0.1</size>
30 </box>
31 </geometry>
32 </collision_shape>
33 </body>
34 <body name="link 2">
35 <gravity>1</gravity>
36 <transformation>0 1.0 0 0 0 0</transformation>
37 <inertia>
38 <mass>5</mass>
39 <offset>0 0.5 0</offset>
40 </inertia>
41 <visualization_shape>
42 <transformation>0 0.5 0 0 0 0</transformation>
43 <geometry>
44 <box>
45 <size>0.1 1.0 0.1</size>
46 </box>
47 </geometry>
48 </visualization_shape>
49 <collision_shape>
50 <transformation>0 0.5 0 0 0 0</transformation>
51 <geometry>
52 <box>
53 <size>0.1 1.0 0.1</size>
54 </box>
55 </geometry>
56 </collision_shape>
57 </body>
58 <joint type="revolute" name="joint0">
59 <parent>world</parent>
60 <child>link 1</child>
61 <transformation>-0 0 0 0 0 0</transformation>
62 <axis>
63 <xyz>1 0 0</xyz>
64 <dynamics>
65 <damping>1.0</damping>
66 <friction>5.0</friction>
67 <spring_rest_position>0.1</spring_rest_position>
68 <spring_stiffness>3.0</spring_stiffness>
69 </dynamics>
70 </axis>
71 </joint>
72 <joint type="translational" name="joint1">
73 <parent>link 1</parent>
74 <child>link 2</child>
75 <transformation>-0 0 0 0 0 0</transformation>
76 <axis>
77 <dynamics>
78 <damping>1.0</damping>
79 <friction>5.0</friction>
80 <spring_rest_position>0.1</spring_rest_position>
81 <spring_stiffness>3.0</spring_stiffness>
82 </dynamics>
83 </axis>
84 <axis2>
85 <dynamics>
86 <damping>2.0</damping>
87 <friction>4.0</friction>
88 <spring_rest_position>0.2</spring_rest_position>
89 <spring_stiffness>2.0</spring_stiffness>
90 </dynamics>
91 </axis2>
92 <axis3>
93 <dynamics>
94 <damping>3.0</damping>
95 <friction>3.0</friction>
96 <spring_rest_position>0.3</spring_rest_position>
97 <spring_stiffness>1.0</spring_stiffness>
98 </dynamics>
99 </axis3>
100 </joint>
101 </skeleton>
102 </world>
103 </skel>