-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathycb_objects.xml
More file actions
88 lines (73 loc) · 3.58 KB
/
ycb_objects.xml
File metadata and controls
88 lines (73 loc) · 3.58 KB
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
<!-- =================================================
Copyright 2021 Vikash Kumar
Model :: YCB (MuJoCoV2.0)
Author :: Vikash Kumar (vikashplus@gmail.com)
Details :: https://github.com/vikashplus/ycb_sim
License :: Under Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
====================================================== -©vk©-->
<mujoco model="YCB objects">
<!-- Scene defaults -->
<asset>
<texture name="texplane" type="2d" builtin="checker" rgb1=".2 .3 .4" rgb2=".1 0.15 0.2"
width="512" height="512" mark="cross" markrgb=".8 .8 .8"/>
<material name="matplane" reflectance="0.3" texture="texplane" texrepeat="1 1" texuniform="true"/>
</asset>
<!-- YCB assets and defaults -->
<include file="includes/defaults_ycb.xml"/>
<include file="includes/assets_035_power_drill.xml"/>
<include file="includes/assets_010_potted_meat_can.xml"/>
<include file="includes/assets_009_gelatin_box.xml"/>
<include file="includes/assets_008_pudding_box.xml"/>
<include file="includes/assets_007_tuna_fish_can.xml"/>
<include file="includes/assets_006_mustard_bottle.xml"/>
<include file="includes/assets_005_tomato_soup_can.xml"/>
<include file="includes/assets_004_sugar_box.xml"/>
<include file="includes/assets_003_cracker_box.xml"/>
<include file="includes/assets_002_master_chef_can.xml"/>
<worldbody>
<!-- Set scene -->
<light directional="true" diffuse=".4 .4 .4" specular="0.1 0.1 0.1" pos="0 0 5.0" dir="0 0 -1" castshadow="false"/>
<light directional="true" diffuse=".6 .6 .6" specular="0.2 0.2 0.2" pos="0 0 4" dir="0 0 -1"/>
<geom name="ground" type="plane" size="2 2 1" pos="0 0 0" quat="1 0 0 0" material="matplane"/>
<body pos="1.2 0.0 0.01">
<include file="includes/body_035_power_drill.xml"/>
<freejoint/>
</body>
<body pos="1.0 0.0 0.01">
<include file="includes/body_010_potted_meat_can.xml"/>
<freejoint/>
</body>
<body pos="0.9 0.0 0.01">
<include file="includes/body_009_gelatin_box.xml"/>
<freejoint/>
</body>
<body pos="0.8 0.0 0.01">
<include file="includes/body_008_pudding_box.xml"/>
<freejoint/>
</body>
<body pos="0.7 0.0 0.01">
<include file="includes/body_007_tuna_fish_can.xml"/>
<freejoint/>
</body>
<body pos="0.6 0.0 0.01">
<include file="includes/body_006_mustard_bottle.xml"/>
<freejoint/>
</body>
<body pos="0.5 0.0 0.01">
<include file="includes/body_005_tomato_soup_can.xml"/>
<freejoint/>
</body>
<body pos="0.4 0.0 0.01">
<include file="includes/body_004_sugar_box.xml"/>
<freejoint/>
</body>
<body pos="0.3 0.0 0.01">
<include file="includes/body_003_cracker_box.xml"/>
<freejoint/>
</body>
<body pos="0.2 0.0 0.01">
<include file="includes/body_002_master_chef_can.xml"/>
<freejoint/>
</body>
</worldbody>
</mujoco>