File: test_single_pendulum.skel

package info (click to toggle)
dart 6.12.1%2Bdfsg4-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 57,000 kB
  • sloc: cpp: 269,461; python: 3,911; xml: 1,273; sh: 404; makefile: 30
file content (55 lines) | stat: -rw-r--r-- 1,922 bytes parent folder | download | duplicates (4)
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
<?xml version="1.0" ?>
<skel version="1.0">
    <world name="world 1">
        <physics>
            <time_step>0.001</time_step>
            <gravity>0 -9.81 0</gravity>
        </physics>
        <skeleton name="skeleton 1">
            <body name="link 1">
                <gravity>1</gravity>
                <transformation>0.1 0 0 0 0 0</transformation>
                <inertia>
                    <mass>1.0</mass>
                    <offset>0 0 0</offset>
                </inertia>
                <soft_shape>
                    <total_mass>0.1</total_mass>
                    <geometry>
                        <box>
                            <size>0.2 0.05 0.05</size>
                        </box>
                    </geometry>
		<kv>100</kv>
		<ke>10</ke>
		<damp>0.1</damp>
                </soft_shape>
                <visualization_shape>
                    <transformation>0 0 0 0 0 0</transformation>
                    <geometry>
                        <box>
                            <size>0.2 0.05 0.05</size>
                        </box>
                    </geometry>
                </visualization_shape>
                <collision_shape>
                    <transformation>0 0 0 0 0 0</transformation>
                    <geometry>
                        <box>
                            <size>0.2 0.05 0.05</size>
                        </box>
                    </geometry>
                </collision_shape>                                
            </body>
            <joint type="revolute" name="joint 1">
                <parent>world</parent>
                <child>link 1</child>
                <transformation>-0.1 0 0 0 0 0</transformation>
                <!--transformation>0 -0.1 0 0 0 0</transformation-->
                <axis>
                    <xyz>0 0 1</xyz>
                </axis>
            </joint>
        </skeleton>	
    </world>
</skel>