File: nested_model_with_frames_expected.sdf

package info (click to toggle)
sdformat 9.3.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,708 kB
  • sloc: cpp: 42,166; python: 1,618; javascript: 704; ruby: 368; sh: 81; ansic: 37; makefile: 16
file content (68 lines) | stat: -rw-r--r-- 2,113 bytes parent folder | download
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
<?xml version='1.0'?>
<sdf version='1.7'>
  <world name='default'>
    <model name='ParentModel'>
      <frame name='M1::__model__' attached_to='M1::L1'>
        <pose relative_to='__model__'>10 0 0 0 -0 1.5708</pose>
      </frame>
      <frame name='M1::F1' attached_to='M1::__model__'>
        <pose>0 0 0 1.5708 -0 0</pose>
      </frame>
      <frame name='M1::F2' attached_to='M1::__model__'>
        <pose relative_to='M1::F1'>0 0 0 0 0.785398 0</pose>
      </frame>
      <link name='M1::L1'>
        <pose relative_to='M1::F1'>0 0 0 0 -0 0</pose>
        <visual name='V1'>
          <pose relative_to='M1::F2'>0 0 0 0 -0 0</pose>
          <geometry>
            <sphere>
              <radius>1</radius>
            </sphere>
          </geometry>
        </visual>
        <collision name='C1'>
          <pose relative_to='M1::__model__'>0 0 0 0 -0 0</pose>
          <geometry>
            <sphere>
              <radius>1</radius>
            </sphere>
          </geometry>
        </collision>
      </link>
      <link name='M1::L2'>
        <pose relative_to='M1::F1'>1 0 0 0 -0 0</pose>
      </link>
      <link name='M1::L3'>
        <pose relative_to='M1::L2'>0 1 0 0 -0 0</pose>
      </link>
      <link name='M1::L4'>
        <pose relative_to='M1::__model__'>0 0 1 0 -0 0</pose>
      </link>
      <joint name='M1::J1' type='universal'>
        <pose relative_to='M1::L1'>0 0 0 0 -0 0</pose>
        <parent>M1::L1</parent>
        <child>M1::L2</child>
        <axis>
          <xyz expressed_in='M1::F2'>0 0 1</xyz>
        </axis>
        <axis2>
          <xyz expressed_in='M1::F2'>1 0 0</xyz>
        </axis2>
      </joint>
      <joint name='M1::J2' type='revolute'>
        <pose>0 0 1 0 -0 0</pose>
        <parent>M1::L2</parent>
        <child>M1::L3</child>
        <axis>
          <xyz expressed_in='M1::__model__'>0 0 1</xyz>
        </axis>
      </joint>
      <joint name='M1::J3' type='fixed'>
        <pose relative_to='M1::__model__'>1 0 1 0 -0 0</pose>
        <parent>M1::L3</parent>
        <child>M1::L4</child>
      </joint>
    </model>
  </world>
</sdf>