File size: 4,380 Bytes
5e2cd33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<?xml version="1.0" ?>
<robot name="fridge">
  <link name="root">
  </link>
  <joint name="root_rotation" type="fixed">
    <origin rpy="1.565 0 0" xyz="0 0 0"/>
    <parent link="root"/>
    <child link="body"/>
  </joint>
  <link name="body">
    <inertial>
      <origin rpy="0 0 0" xyz="0 0 0"/>
      <mass value="70.0"/>
      <!-- Warning: dummy inertia. Expect that inertia diagonal will be computed during load. -->
      <inertia ixx="1.0" ixy="0" ixz="0" iyy="1.0" iyz="0" izz="1.0"/>
    </inertial>
    <visual>
      <origin rpy="0 0 0" xyz="0 0 0"/>
      <geometry>
        <mesh filename="body.glb" scale="1.0 1.0 1.0"/>
      </geometry>
    </visual>
    <!--top-->
    <collision>
      <origin rpy="0 0 0" xyz="0 -0.002765 -0.94159"/>
      <geometry>
        <box size="0.633 0.691 0.027"/>
      </geometry>
    </collision>
    <!--bottom-->
    <collision>
      <origin rpy="0 0 0" xyz="0 -0.002765 0.93"/>
      <geometry>
        <box size="0.633 0.691 0.04"/>
      </geometry>
    </collision>
     <!--drawer slide-->
    <collision>
      <origin rpy="0 0 0" xyz="0.017 0.01 -0.71"/>
      <geometry>
        <box size="0.45 0.07 0.02"/>
      </geometry>
    </collision>
    <!--top shelf-->
    <collision>
      <origin rpy="0 0 0" xyz="0.035 0.018 -0.6"/>
      <geometry>
        <box size="0.47 0.5 0.02"/>
      </geometry>
    </collision>
    <!--top middle shelf-->
    <collision>
      <origin rpy="0 0 0" xyz="0.035 -0.002765 -0.226826"/>
      <geometry>
        <box size="0.46 0.66 0.027"/>
      </geometry>
    </collision>
    <!--bottom middle shelf-->
    <collision>
      <origin rpy="0 0 0" xyz="0.035 -0.002765 -0.033778"/>
      <geometry>
        <box size="0.46 0.66 0.027"/>
      </geometry>
    </collision>
    <!--bottom shelf-->
    <collision>
      <origin rpy="0 0 0" xyz="0.05 0.01 0.33"/>
      <geometry>
        <box size="0.46 0.66 0.03"/>
      </geometry>
    </collision>
    <!--sides-->
    <collision>
      <origin rpy="0 0 0" xyz="0 -0.337538 0.005784"/>
      <geometry>
        <box size="0.633 0.03 1.89126"/>
      </geometry>
    </collision>
    <collision>
      <origin rpy="0 0 0" xyz="0 0.329773 0.005784"/>
      <geometry>
        <box size="0.633 0.03 1.89126"/>
      </geometry>
    </collision>
    <!--back-->
    <collision>
      <origin rpy="0 0 0" xyz="-0.316502 -0.002765 0"/>
      <geometry>
        <box size="0.029014 0.690834 1.91906"/>
      </geometry>
    </collision>
  </link>
  <joint name="top_door_hinge" type="revolute">
    <origin rpy="0 0 0" xyz="0.322 0.353 -0.385"/>
    <parent link="body"/>
    <child link="top_door"/>
    <axis xyz="0 0 1"/>
    <dynamics damping="0.01" friction="0.01"/>
    <limit effort="44.4" lower="0.0" upper="2.3" velocity="40"/>
  </joint>
  <link name="top_door">
    <inertial>
      <origin rpy="0 0 0" xyz="0 0 0"/>
      <mass value="8"/>
      <!-- Warning: dummy inertia. Expect that inertia diagonal will be computed during load. -->
      <inertia ixx="1.0" ixy="0" ixz="0" iyy="1.0" iyz="0" izz="1.0"/>
    </inertial>
    
    <visual>
      <origin rpy="0 0 0" xyz="0.014 -0.355 0"/>
      <geometry>
        <mesh filename="top_door.glb" scale="1.0 1.0 1.0"/>
      </geometry>
    </visual>
     <collision>
      <origin rpy="0 0 0" xyz="0.034 -0.346 -0.02"/>
      <geometry>
        <box size="0.055 0.69 1.103"/>
      </geometry>
    </collision>

  </link>
  <joint name="bottom_door_hinge" type="revolute">
    <origin rpy="0 0 0" xyz="0.322 0.353 0.531"/>
    <parent link="body"/>
    <child link="bottom_door"/>
    <axis xyz="0 0 1"/>
    <dynamics damping="0.01" friction="0.01"/>
    <limit effort="44.4" lower="0.0" upper="2.5" velocity="40"/>
  </joint>
  <link name="bottom_door">
    <inertial>
      <origin rpy="0 0 0" xyz="0 0 0"/>
      <mass value="6"/>
      <!-- Warning: dummy inertia. Expect that inertia diagonal will be computed during load. -->
      <inertia ixx="1.0" ixy="0" ixz="0" iyy="1.0" iyz="0" izz="1.0"/>
    </inertial>
    <visual>
      <origin rpy="0 0 0" xyz="0.022 -0.354 0"/>
      <geometry>
        <mesh filename="bottom_door.glb" scale="1.0 1.0 1.0"/>
      </geometry>
    </visual>
    <collision>
      <origin rpy="0 0 0" xyz="0.034 -0.346 0.02"/>
      <geometry>
        <box size="0.055 0.684 0.77"/>
      </geometry>
    </collision>
  </link>
</robot>