Rename new envs (shorten Markovian to Markov)

This commit is contained in:
Dominik Moritz Roth 2024-03-20 11:04:16 +01:00
parent 1936f8bf98
commit 9960201cb6
2 changed files with 5 additions and 5 deletions

View File

@ -316,18 +316,18 @@ register(
)
register(
id='fancy/TableTennisMarkovian-v0',
id='fancy/TableTennisMarkov-v0',
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,
kwargs={
}
)
register(
id='fancy/TableTennisRndRobotMarkovian-v0',
id='fancy/TableTennisRndRobotMarkov-v0',
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,
kwargs={
'random_pos_scale': 0.1,

View File

@ -299,7 +299,7 @@ class TableTennisEnv(MujocoEnv, utils.EzPickle):
return False, pos_traj, vel_traj
return True, pos_traj, vel_traj
class TableTennisMarkovian(TableTennisEnv):
class TableTennisMarkov(TableTennisEnv):
def _get_reward2(self, hit_now, land_now):
# Phase 1 not hit ball