Rename new envs (shorten Markovian to Markov)
This commit is contained in:
parent
1936f8bf98
commit
9960201cb6
@ -316,18 +316,18 @@ register(
|
|||||||
)
|
)
|
||||||
|
|
||||||
register(
|
register(
|
||||||
id='fancy/TableTennisMarkovian-v0',
|
id='fancy/TableTennisMarkov-v0',
|
||||||
mp_wrapper=MPWrapper_TableTennis,
|
mp_wrapper=MPWrapper_TableTennis,
|
||||||
entry_point='fancy_gym.envs.mujoco:TableTennisMarkovian',
|
entry_point='fancy_gym.envs.mujoco:TableTennisMarkov',
|
||||||
max_episode_steps=MAX_EPISODE_STEPS_TABLE_TENNIS_MARKOV_VER,
|
max_episode_steps=MAX_EPISODE_STEPS_TABLE_TENNIS_MARKOV_VER,
|
||||||
kwargs={
|
kwargs={
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
register(
|
register(
|
||||||
id='fancy/TableTennisRndRobotMarkovian-v0',
|
id='fancy/TableTennisRndRobotMarkov-v0',
|
||||||
mp_wrapper=MPWrapper_TableTennis_Rnd,
|
mp_wrapper=MPWrapper_TableTennis_Rnd,
|
||||||
entry_point='fancy_gym.envs.mujoco:TableTennisMarkovian',
|
entry_point='fancy_gym.envs.mujoco:TableTennisMarkov',
|
||||||
max_episode_steps=MAX_EPISODE_STEPS_TABLE_TENNIS_MARKOV_VER,
|
max_episode_steps=MAX_EPISODE_STEPS_TABLE_TENNIS_MARKOV_VER,
|
||||||
kwargs={
|
kwargs={
|
||||||
'random_pos_scale': 0.1,
|
'random_pos_scale': 0.1,
|
||||||
|
@ -299,7 +299,7 @@ class TableTennisEnv(MujocoEnv, utils.EzPickle):
|
|||||||
return False, pos_traj, vel_traj
|
return False, pos_traj, vel_traj
|
||||||
return True, pos_traj, vel_traj
|
return True, pos_traj, vel_traj
|
||||||
|
|
||||||
class TableTennisMarkovian(TableTennisEnv):
|
class TableTennisMarkov(TableTennisEnv):
|
||||||
def _get_reward2(self, hit_now, land_now):
|
def _get_reward2(self, hit_now, land_now):
|
||||||
|
|
||||||
# Phase 1 not hit ball
|
# Phase 1 not hit ball
|
||||||
|
Loading…
Reference in New Issue
Block a user