mirror of
https://gitlab.rlp.net/mobitar/ReCo.jl.git
synced 2024-12-30 17:33:29 +00:00
Added half_box_len as env arg
This commit is contained in:
parent
c6a9d45e4a
commit
3e713fd44c
1 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ end
|
|||
function run_rl(;
|
||||
EnvType::Type{E},
|
||||
parent_dir_appendix::String,
|
||||
elliptical_a_b_ratio::Float64,
|
||||
elliptical_a_b_ratio::Float64=1.0,
|
||||
n_episodes::Int64=200,
|
||||
episode_duration::Float64=50.0,
|
||||
update_actions_at::Float64=0.1,
|
||||
|
@ -84,7 +84,7 @@ function run_rl(;
|
|||
)
|
||||
n_particles = sim_consts.n_particles # Not always equal to the input!
|
||||
|
||||
env_args = (skin_radius=sim_consts.skin_radius,)
|
||||
env_args = (skin_radius=sim_consts.skin_radius, half_box_len=sim_consts.half_box_len)
|
||||
|
||||
env = EnvType(; args=env_args)
|
||||
|
||||
|
|
Loading…
Reference in a new issue