2020-08-28 18:31:06 +02:00
|
|
|
from gym.envs.registration import register
|
|
|
|
|
|
|
|
register(
|
|
|
|
id='ALRReacher-v0',
|
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
|
|
|
max_episode_steps=1000,
|
|
|
|
)
|
|
|
|
|
|
|
|
register(
|
|
|
|
id='SimpleReacher-v0',
|
|
|
|
entry_point='alr_envs.classic_control:SimpleReacherEnv',
|
|
|
|
max_episode_steps=200,
|
|
|
|
kwargs={
|
2020-09-04 13:35:05 +02:00
|
|
|
"n_links": 2,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
register(
|
|
|
|
id='SimpleReacher5-v0',
|
|
|
|
entry_point='alr_envs.classic_control:SimpleReacherEnv',
|
|
|
|
max_episode_steps=200,
|
|
|
|
kwargs={
|
|
|
|
"n_links": 5,
|
2020-08-28 18:31:06 +02:00
|
|
|
}
|
|
|
|
)
|