forked from NextCenturyCorporation/mcs-scene-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpassive_physics_move_across.yaml
105 lines (96 loc) · 2.93 KB
/
passive_physics_move_across.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Setup the scene in exactly the same way as the "passive physics" eval scenes.
# This automatically sets the performer agent's starting position and rotation,
# room dimensions, floor friction, and a platform to adjust the camera height.
passive_physics_scene: true
# Max of 240 action steps in each passive "move across" scene.
last_step: 240
# Two moving-and-rotating occluding walls with semi-random width and position.
structural_moving_occluders:
- num: 2
occluder_height: 3
occluder_thickness: 0.1
occluder_width:
min: 0.5
max: 2.5
origin: 'top'
position_x:
min: -2.0
max: 2.0
position_z: 1
move_up_before_last_step: true
reverse_direction: false
rotation_y: 0
labels: occluder
# Set the X distance between the two occluders, and between the occluders and
# the edge of the performer agent's viewport.
occluder_gap:
min: 0.5
max: 1.5
occluder_gap_viewport:
min: 0.5
max: 1.5
# Two throwers with random small objects at semi-random locations.
structural_throwers:
- num: 2
# Will position the thrower/object on either the left or the right with
# either a straight, angled, or tossed movement arc. Overrides the
# "wall", "position_wall", "height", "rotation_y", and "rotation_z"
# config options. See the ILE_API for information on the values used.
# In rare circumstances, objects may collide; you can avoid this by
# reducing the number of throwers to 1.
passive_physics_setup:
- roll_angled
- roll_straight
- toss_straight
# Will assign a throw force so the object will come to a stop offscreen.
stop_position:
offscreen: true
# Choose randomly from shapes normally used in "move across" tasks.
# Remove shapes from this list you don't want to generate.
# Copy lines for shapes you want to generate more often than others.
projectile_shape:
- ball
- bobcat
- bus_1
- car_1
- car_2
- car_3
- cart_2
- cylinder
- dog_on_wheels
- dog_on_wheels_2
- duck_on_wheels
- duck_on_wheels_2
- dumbbell_1
- dumbbell_2
- jeep
- racecar_red
- rollable_1
- rollable_2
- rollable_3
- rollable_4
- roller
- skateboard
- sphere
- tank_1
- tank_2
- tie_fighter
- train_1
- train_2
- trolley_1
- truck_1
- truck_2
- truck_3
- truck_4
- tube_narrow
- tube_wide
- turtle_on_wheels
throw_step:
min: 41
max: 80
# Override the defaults to avoid randomly generating any other objects.
keyword_objects:
- num: 0
random_structural_objects:
- num: 0
excluded_shapes: soccer_ball