Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forcing One PyBullet Client per Environment #18

Closed
goobta opened this issue Nov 2, 2020 · 0 comments · Fixed by #28
Closed

Forcing One PyBullet Client per Environment #18

goobta opened this issue Nov 2, 2020 · 0 comments · Fixed by #28
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@goobta
Copy link
Member

goobta commented Nov 2, 2020

I guess that we didn't know how to PyBullet worked when we started. When trying to train the models in a env and then creating a new gui-based environment for rendering, we found that we had run into a lot of issues.

The only way to circumvent them was to restart the kernel, which also happens to be the only way to terminate the pybullet physics server. I'm gonna conjecture that when we create a second environment, it causes conflicts because there already is a simulation running on the PyBullet server. I believe if we forced each environment to maintain its own physics client, then we should be a-ok.

It's either that or find a way to train without having to render and be able to start rendering mid-pybullet session.

@goobta goobta added bug Something isn't working question Further information is requested labels Nov 2, 2020
@goobta goobta self-assigned this Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant