@@ -0,0 +1,1244 @@
+#!/usr/bin/env python%0A%0Aimport opensim as osim%0A%0Afrom osim.redis.client import Client%0Afrom osim.env import *%0Aimport numpy as np%0Aimport argparse%0Aimport os%0A%0A%22%22%22%0ANOTE: For testing your submission scripts, you first need to ensure that redis-server is running in the background%0Aand you can locally run the grading service by running this script : https://github.com/crowdAI/osim-rl/blob/master/osim/redis/service.py%0A%0AThe client and the grading service communicate with each other by pointing to the same redis server.%0A%22%22%22%0A%0A%22%22%22%0APlease ensure that %60visualize=False%60, else there might be unexpected errors in your submission%0A%22%22%22%0Aenv = ProstheticsEnv(visualize=False)%0Aclient = Client()%0A%0A# Create environment%0Aobservation = client.env_create()%0A%0A%22%22%22%0AThe grader runs N simulations of at most 1000 steps each. We stop after the last one%0AA new simulation start when %60clinet.env_step%60 returns %60done==True%60%0Aand all the simulatiosn end when the subsequent %60client.env_reset()%60 returns a False%0A%22%22%22%0Awhile True:%0A    _action = env.action_space.sample().tolist()%0A    %5Bobservation, reward, done, info%5D = client.env_step(_action)%0A    print(observation)%0A    if done:%0A        observation = client.env_reset()%0A        if not observation:%0A            break%0A%0Aclient.submit()%0A

Add round_2_submit script