File: joint_limit_test.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 (80 lines) | stat: -rw-r--r-- 2,909 bytes parent folder | download | duplicates (3)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?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>
            <collision_detector>fcl_mesh</collision_detector>
        </physics>
        <skeleton name="double_pendulum">
            <body name="link 1">
                <gravity>1</gravity>
                <transformation>0 0 0 0 0 0</transformation>
                <inertia>
                    <mass>5</mass>
                    <offset>0 0.5 0</offset>
                </inertia>
                <visualization_shape>
                    <transformation>0 0.5 0 0 0 0</transformation>
                    <geometry>
                        <box>
                            <size>0.1 1.0 0.1</size>
                        </box>
                    </geometry>
                </visualization_shape>
                <collision_shape>
                    <transformation>0 0.5 0 0 0 0</transformation>
                    <geometry>
                        <box>
                            <size>0.1 1.0 0.1</size>
                        </box>
                    </geometry>
                </collision_shape>
            </body>
            <body name="link 2">
                <gravity>1</gravity>
                <transformation>0 1.0 0 0 0 0</transformation>
                <inertia>
                    <mass>5</mass>
                    <offset>0 0.5 0</offset>
                </inertia>
                <visualization_shape>
                    <transformation>0 0.5 0 0 0 0</transformation>
                    <geometry>
                        <box>
                            <size>0.1 1.0 0.1</size>
                        </box>
                    </geometry>
                </visualization_shape>
                <collision_shape>
                    <transformation>0 0.5 0 0 0 0</transformation>
                    <geometry>
                        <box>
                            <size>0.1 1.0 0.1</size>
                        </box>
                    </geometry>
                </collision_shape>
            </body>
            <joint type="revolute" name="joint0">
                <parent>world</parent>
                <child>link 1</child>
                <transformation>-0 0 0 0 0 0</transformation>
                <axis>
                    <xyz>1 0 0</xyz>
                </axis>
            </joint>
            <joint type="revolute" name="joint1">
                <parent>link 1</parent>
                <child>link 2</child>
                <transformation>-0 0 0 0 0 0</transformation>
                <axis>
                    <xyz>1 0 0</xyz>
                    <limit>
                        <lower>-1.57</lower>
                        <upper>+1.57</upper>
                    </limit>
                </axis>
            </joint>
        </skeleton>
    </world>
</skel>