MyoHub / myo_sim

Musculoskeletal Models in MuJoCo
https://sites.google.com/view/myosuite
Apache License 2.0
76 stars 23 forks source link

Question about calling the 'gym.make' function and associated file for 'myoElbowPose1D6MRandom-v0' #7

Closed AyanT01 closed 1 year ago

AyanT01 commented 1 year ago

Hello, I have a question regarding the following code snippet: import myosuite import gym env = gym.make('myoElbowPose1D6MRandom-v0') env.reset() for _ in range(1000): env.sim.render(mode='window') env.step(env.action_space.sample()) # take a random action env.close() In this code, I noticed the usage of the gym.make function with the argument 'myoElbowPose1D6MRandom-v0'. I'm curious about how this function call is handled and if there is a specific file that controls the environment with the name 'myoElbowPose1D6MRandom-v0'.

Could you please provide some insight into the internal workings of gym.make and how it retrieves and initializes the specified environment? Additionally, I would appreciate any information on the file structure or configuration associated with the environment named 'myoElbowPose1D6MRandom-v0'.

Thank you in advance for your assistance!

Best regards, Abdul haq Ayantayo

Vittorio-Caggiano commented 1 year ago

Hi @AyanT01 the myo_sim project is a repository of models. Can you please move this to the MyoSuite Issue ?

AyanT01 commented 1 year ago

Thanks for letting me know!!