How to start a shared-memory physics server within python

Official Python bindings with a focus on reinforcement learning and robotics.
bheijden
Posts: 1
Joined: Wed Apr 06, 2022 12:54 pm

How to start a shared-memory physics server within python

Post by bheijden »

I cannot connect to an existing physics servers that was started from within python (in another separate process) if they were either started with pybullet.GUI or pybullet.DIRECT.

In contrast, if I start a physics server from either the ExampleBrowser or start the App_PhysicsServer_SharedMemory_GUI it does work.

The thing is, I can only start the ExampleBrowser and App_PhysicsServer_SharedMemory_GUI because I've build bullet3 from source. However, I would rather like to start either one via the pip installed version of pybullet. Is this possible?