remove unnecessary print
This commit is contained in:
parent
8ef00f7343
commit
33c79f31d2
@ -56,7 +56,6 @@ class TTEnvGym(MujocoEnv, utils.EzPickle):
|
||||
self.hit_ball = False
|
||||
self.ball_contact_after_hit = False
|
||||
self._ids_set = False
|
||||
self.n_step = 0
|
||||
super(TTEnvGym, self).__init__(model_path=model_path, frame_skip=1)
|
||||
self.ball_id = self.sim.model._body_name2id[BALL_NAME] # find the proper -> not protected func.
|
||||
self.ball_contact_id = self.sim.model._geom_name2id[BALL_NAME_CONTACT]
|
||||
@ -168,7 +167,6 @@ class TTEnvGym(MujocoEnv, utils.EzPickle):
|
||||
"q_pos": np.copy(self.sim.data.qpos[:7]),
|
||||
"ball_pos": np.copy(self.sim.data.qpos[7:])}
|
||||
self.n_step += 1
|
||||
print(self.n_step)
|
||||
return ob, reward, done, info # might add some information here ....
|
||||
|
||||
def set_context(self, context):
|
||||
|
Loading…
Reference in New Issue
Block a user