Allow units for 'start_pos' (initial agent position)

This commit is contained in:
2022-12-06 12:25:20 +01:00
parent 6d465c69c9
commit 1bf587c4da
2 changed files with 6 additions and 4 deletions
+4 -4
View File
@@ -65,14 +65,14 @@ params:
pos: [0.75em, 60px]
- type: RectBarrier
num: 1
width: 2ct
height: 3ct
width: 20 # defaults to rx (px scaled from x-axis)
height: 10 # defaults to ry (px scaled from y-axis)
pos: [0.75em, 90px]
- type: OnceReward
reward: 100
radius: 3ct
pos: [0.3, 0.8]
start_pos: [0.1, 0.21]
pos: [0.3, 0.8] # defaults to em
start_pos: [90ct, 20ct]
default_collision_elasticity: 0.8
start_score: 10
speed_fac: 0.01