File: top_model.sdf

package info (click to toggle)
sdformat 12.3.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,980 kB
  • sloc: cpp: 54,706; python: 3,729; javascript: 704; ruby: 366; sh: 97; ansic: 30; makefile: 16
file content (39 lines) | stat: -rw-r--r-- 875 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
<?xml version="1.0" ?>
<sdf version="1.7">
  <model name='top_model'>

    <link name="top">
      <pose>0.6 0 0.7 0 0 0</pose>
      <collision name="top_collision">
        <geometry>
          <box>
            <size>0.5 1 0.5</size>
          </box>
        </geometry>
      </collision>
      <visual name="top_visual">
        <geometry>
          <box>
            <size>0.5 1 0.5</size>
          </box>
        </geometry>
        <material>
          <ambient>1 0 0 1</ambient>
          <diffuse>1 0 0 1</diffuse>
          <specular>1 0 0 1</specular>
        </material>
      </visual>
    </link>

    <include>
      <uri>top_camera</uri>
      <pose relative_to="top">0 0 0 0 0 0</pose>
    </include>

    <joint name="top_to_camera" type="fixed">
      <parent>top</parent>
      <child>top_camera::top_camera_link</child>
    </joint>

  </model>
</sdf>