This commit is contained in:
Vien Ngo 2020-08-28 15:59:16 +02:00
parent c5694425c5
commit efa7415164
2 changed files with 1 additions and 14 deletions

View File

@ -5,7 +5,7 @@
- Creating a custom Mujoco Gym according to this guides: https://github.com/openai/gym/blob/master/docs/creating-environments.md
## INSTALL
- NOTE: you should look into envs/reacher_env.py and change the link to .xml file.
- NOTE: you should look into envs/reacher_env.py and change the link to the correct path of .xml file on your computer.
- Install: go to "../reacher_5_links"
``` pip install -e reacher_5_links ```

13
test.py
View File

@ -1,13 +0,0 @@
import gym
if __name__ == "__main__":
env = gym.make('reacher:ReacherALREnv-v0')
#env = gym.make('Hopper-v2')
env.reset()
for i in range(10000):
action = env.action_space.sample()
obs = env.step(action)
print("step",i)
env.render()