Switch to unified view

a b/examples/legacy/sim_Prosthetics_randomrun.py
1
from osim.env import ProstheticsEnv
2
3
env = ProstheticsEnv(seed=5)
4
env.change_model(model='3D', prosthetic=True, difficulty=2, seed=11)
5
observation = env.reset()
6
for i in range(300):
7
    observation, reward, done, info = env.step(env.action_space.sample(), project = False)
8
    if done:
9
        env.reset(seed=10)