forked from NextCenturyCorporation/mcs-scene-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinteractive_spatial_reorientation.yaml
91 lines (79 loc) · 2.27 KB
/
interactive_spatial_reorientation.yaml
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
# Retrieval goal using a soccer ball as the target object.
goal:
category: retrieval
target:
shape: soccer_ball
scale: 1.0
# Only the target can be a soccer ball.
excluded_shapes: soccer_ball
# Use a specific room size for this task.
room_dimensions:
x: 12
y: 6
z: 16
# Choose the wall material from a color palette with bright, distinct colors.
# All four exterior room walls will be the same color.
wall_material: WALL_OPPOSITE_MATERIALS
# Sometimes one of the exterior room walls will be the opposite color instead.
side_wall_opposite_colors: [true, false]
# Sometimes the room will be trapezoidal.
trapezoidal_room: [true, false]
# Generate a platform bisecting the room.
shortcut_bisecting_platform:
has_double_blocking_wall: true
position_z: -5.5
# Generate a random bin on each side of the room.
keyword_objects:
- keyword: bins
num: 1
labels: bin_1
position:
- x:
min: 1.5
max: 3.0
z: 0
- x:
min: -3.0
max: -1.5
z: 0
specific_interactable_objects:
- num: 1
labels: bin_2
identical_to: bin_1
keyword_location:
keyword: opposite_x
relative_object_label: bin_1
# Generate a placer the puts the target into one of the bins.
placers:
- num: 1
placed_object_labels: target
activation_step: 37
end_height: 0.5
position_relative:
label: [bin_1, bin_2]
use_x: true
use_z: true
# Forced rotation at the beginning of the scene.
circles: [1]
# Can only use Pass actions between the forced rotation and the kidnapping.
freezes:
- begin: 1
end: 54
# Kidnapping on step 90. May or may not be moved to the opposite side of the
# center platform. Will be moved slightly to either the left or right. Will
# always be facing the center of the room after the kidnapping.
teleports:
- step: 90
position_x:
min: -0.25
max: 0.25
position_z:
- min: -7.75
max: -7.25
- min: 7.25
max: 7.75
look_at_center: true
# Override the defaults to avoid randomly generating any other objects besides
# the platform, bins, placer, and target.
random_structural_objects:
- num: 0