Lint fixes to mujoco environment (#377)

This commit is contained in:
Alex Ray
2017-02-22 17:24:27 -08:00
committed by Tom Brown
parent 6d7e50e67b
commit f724a72006
12 changed files with 31 additions and 32 deletions

View File

@@ -36,7 +36,7 @@ class AntEnv(mujoco_env.MujocoEnv, utils.EzPickle):
])
def reset_model(self):
qpos = self.init_qpos + self.np_random.uniform(size=self.model.nq,low=-.1,high=.1)
qpos = self.init_qpos + self.np_random.uniform(size=self.model.nq, low=-.1, high=.1)
qvel = self.init_qvel + self.np_random.randn(self.model.nv) * .1
self.set_state(qpos, qvel)
return self._get_obs()