-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinteractive_collision.yaml
87 lines (82 loc) · 2.88 KB
/
interactive_collision.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
# Add a Retrieval goal with a soccer ball as the target object.
goal:
category: retrieval
target:
- num: 1
shape: soccer_ball
scale: 2.0
# Always on the side of the room opposite from the performer agent.
position:
- x:
min: 1
max: 5
z:
min: 4
max: 8
- x:
min: -5
max: -1
z:
min: 4
max: 8
rotation:
- y: 0
# Use a room with a specific width and a pseudo-variable depth.
room_dimensions:
x: 12
y: 4
z:
min: 18
max: 30
# Generate an occluding wall containing two doors (called a "door occluder"),
# a line of lava bisecting the room, and a platform at one side of the room,
# on which the performer agent will be positioned, looking slightly downward.
shortcut_double_door_choice:
# The door occluder will begin descending in the first 10 steps of the
# scene. This may intentionally obstruct your view of the collision step.
# If you do not want a door occluder, change "start_drop_step" to a high
# number, and set "add_freeze" to "true".
start_drop_step:
min: 1
max: 10
occluder_distance_from_performer: 6.5
# Allow only one door to be opened in each scene (forced choice).
restrict_open_doors: true
# Generate a thrower with a green ball that either collides with, or avoids,
# the soccer ball. Please note the evaluation scenes will NOT have "bank shots"
# which collide with the soccer ball after bouncing off a wall of the room.
structural_throwers:
- num: 1
# Position the thrower in view along the front wall, just above the
# ground, but not above the lava.
wall: front
position_wall:
- min: -5
max: -1
- min: 1
max: 5
height: 0
# The thrown object is a green ball the same size as the soccer ball.
projectile_shape: 'sphere'
projectile_scale: 0.44
projectile_material: 'Custom/Materials/Green'
# The thrower either points directly at the soccer ball (to collide with
# it), or points a different direction to avoid hitting the soccer ball.
path_relative:
option: [avoid, collide]
labels: target
rotation_z: 0
# Roll the green ball immediately as the scene begins with strong force.
throw_step: 1
throw_force:
min: 8.0
max: 12.0
# Only the thrower's green ball can be green (not the walls or the floor).
excluded_colors: green
# Override the defaults to avoid randomly generating any other objects besides
# the objects needed in this specific task. Remove these lines if you want
# additional randomly generated objects.
keyword_objects:
- num: 0
random_structural_objects:
- num: 0