Skip to content

Commit

Permalink
Add x position to Ant observation
Browse files Browse the repository at this point in the history
  • Loading branch information
tristandeleu committed Oct 13, 2018
1 parent b9a84c7 commit b1cd6f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maml_rl/envs/mujoco/ant.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def action_scaling(self):

def _get_obs(self):
return np.concatenate([
self.sim.data.qpos.flat[2:],
self.sim.data.qpos.flat,
self.sim.data.qvel.flat,
np.clip(self.sim.data.cfrc_ext, -1, 1).flat,
self.sim.data.get_body_xmat("torso").flat,
Expand Down

0 comments on commit b1cd6f1

Please sign in to comment.