-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathturntable.yaml
69 lines (64 loc) · 2.24 KB
/
turntable.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
# Generates a turntable (rotating cog) with a random position and radius but a
# consistent height, color, rotation speed and direction.
structural_turntables:
- num: 1
turntable_radius:
min: 2
max: 5
# This example starts the turntable's rotation at step 1 and rotates it
# either 90, 180, 270, or 360 degrees. Update config as needed.
turntable_movement:
step_begin: 1
step_end:
- 18
- 36
- 54
- 72
# Generate a random container (labeled "keywords_containers").
keyword_objects:
- keyword: containers
num: 1
keyword_location:
# Position either on top of the turntable or randomly in the room.
keyword:
- on_center
- random
relative_object_label: turntables
# If on top of the turntable, its position will either be on the
# right edge (x=0.9, z=0) or on the front edge (x=0, z=0.9).
position_relative_to_start:
- x: 0.9
z: 0
- x: 0
z: 0.9
# Retrieval goal using a soccer ball as the target object.
goal:
category: retrieval
target:
shape: soccer_ball
scale: 1.0
keyword_location:
# Position the target either on top of the turntable, hidden inside
# the container, or randomly in the room.
keyword:
- on_center
- in
- random
container_label: keywords_containers
relative_object_label: turntables
# If on top of the turntable, its position will either be on the
# left edge (x=-0.9, z=0) or on the back edge (x=0, z=-0.9).
position_relative_to_start:
- x: -0.9
z: 0
- x: 0
z: -0.9
# Only the target can be a soccer ball.
excluded_shapes: soccer_ball
# Always starts directly facing the turntable.
performer_look_at: turntables
# Override the defaults to avoid randomly generating any other objects besides
# the turntable, container, and target. Remove these lines if you want
# randomly generated structural objects.
random_structural_objects:
- num: 0