Replies: 6 comments
-
Hi, any updates on the topic ? |
Beta Was this translation helpful? Give feedback.
-
pip3 install pybullet -u |
Beta Was this translation helpful? Give feedback.
-
Hi Erwin, more or less yes! (without a GUI, but I'm guessing that I can use something like pybullet.connect(SHARED_MEMORY_SERVER) to do that). I was actually wondering if creating several physics servers that way would allow me to run multiple simulations in parallel (using multiple cores)? Thanks again ! |
Beta Was this translation helpful? Give feedback.
-
To run many simulations in parallel on many cpu cores, I recommend using pubullet_utils.bullet_client and multiprocessing like this example. |
Beta Was this translation helpful? Give feedback.
-
Thanks! |
Beta Was this translation helpful? Give feedback.
-
Sure. One more example using MPI instead with pybullet_client is deep_mimic: This latter is rather finicky, since Tensorflow and MPI sometimes break their API. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Having an equivalent version of the function below for headless mode, to start an in-process physics server and physics client in process with shared memory, which PyBullet can connect to
bullet3/examples/SharedMemory/SharedMemoryInProcessPhysicsC_API.h
Line 14 in a506879
Beta Was this translation helpful? Give feedback.
All reactions