2020-08-28 18:31:06 +02:00
|
|
|
from gym.envs.registration import register
|
|
|
|
|
|
|
|
register(
|
|
|
|
id='ALRReacher-v0',
|
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
2020-09-19 17:47:20 +02:00
|
|
|
max_episode_steps=200,
|
|
|
|
kwargs={
|
|
|
|
"steps_before_reward": 0,
|
2020-09-22 17:41:25 +02:00
|
|
|
"n_links": 5,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
register(
|
2020-09-26 15:07:42 +02:00
|
|
|
id='ALRReacherShortSparse-v0',
|
2020-09-22 17:41:25 +02:00
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
|
|
|
max_episode_steps=50,
|
|
|
|
kwargs={
|
|
|
|
"steps_before_reward": 50,
|
|
|
|
"n_links": 5,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
2020-09-26 15:07:42 +02:00
|
|
|
register(
|
|
|
|
id='ALRReacherShort-v0',
|
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
|
|
|
max_episode_steps=50,
|
|
|
|
kwargs={
|
|
|
|
"steps_before_reward": 40,
|
|
|
|
"n_links": 5,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
2020-09-22 17:41:25 +02:00
|
|
|
register(
|
|
|
|
id='ALRReacherSparse-v0',
|
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
|
|
|
max_episode_steps=200,
|
|
|
|
kwargs={
|
|
|
|
"steps_before_reward": 200,
|
|
|
|
"n_links": 5,
|
2020-09-19 17:47:20 +02:00
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
register(
|
|
|
|
id='ALRReacher100-v0',
|
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
|
|
|
max_episode_steps=200,
|
|
|
|
kwargs={
|
|
|
|
"steps_before_reward": 100,
|
2020-09-22 17:41:25 +02:00
|
|
|
"n_links": 5,
|
2020-09-19 17:47:20 +02:00
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
register(
|
|
|
|
id='ALRReacher180-v0',
|
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
|
|
|
max_episode_steps=200,
|
|
|
|
kwargs={
|
|
|
|
"steps_before_reward": 180,
|
2020-09-22 17:41:25 +02:00
|
|
|
"n_links": 5,
|
2020-09-19 17:47:20 +02:00
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
register(
|
|
|
|
id='ALRReacher7-v0',
|
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
|
|
|
max_episode_steps=200,
|
|
|
|
kwargs={
|
|
|
|
"steps_before_reward": 0,
|
|
|
|
"n_links": 7,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
register(
|
|
|
|
id='ALRReacher100_7-v0',
|
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
|
|
|
max_episode_steps=200,
|
|
|
|
kwargs={
|
|
|
|
"steps_before_reward": 100,
|
|
|
|
"n_links": 7,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
register(
|
|
|
|
id='ALRReacher180_7-v0',
|
|
|
|
entry_point='alr_envs.mujoco:ALRReacherEnv',
|
|
|
|
max_episode_steps=200,
|
|
|
|
kwargs={
|
|
|
|
"steps_before_reward": 180,
|
|
|
|
"n_links": 7,
|
|
|
|
}
|
2020-08-28 18:31:06 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
)
|