IanYangChina / pybullet_multigoal_gym

Pybullet version of the multigoal robotics environment from OpenAI Gym
Apache License 2.0
86 stars 17 forks source link

Parallel simulation #9

Open Xunmenggod opened 2 days ago

Xunmenggod commented 2 days ago

I am so glad to see this wonderful repo for pybullet simulation with gym env API. I would like to ask if I could create parallel simulations with one script.

IanYangChina commented 2 days ago

Thank you. I'm not sure, this is something I didn't try before. But you can look into how to use python multiprocessing to create your own parallel simulation with multiple threads.

IanYangChina commented 2 days ago

This is an example I wrote but it's with mujoco environments. planty of others you can find on the Internet I'm sure. https://github.com/IanYangChina/GAM-paper-codes/blob/main/manipulation_project/env/wrappers.py