c++ examples are pip install pybullet

Official Python bindings with a focus on reinforcement learning and robotics.
brent
Posts: 10
Joined: Tue May 05, 2020 4:01 pm

c++ examples are pip install pybullet

Post by brent »

I installed pybullet using venv (https://docs.python.org/3/library/venv.html) - and all is working great.

Is there a way to use the c++ examples after the pybullet install? Or do I need to build from sources to have access to those? For example; how would I run https://github.com/bulletphysics/bullet ... ftDemo.cpp ?

I think I'm missing something - from this post - viewtopic.php?f=9&t=11379&p=38317&hilit ... ser#p38317 - it says to: 
First start the example browser, and select the 'Experiments/Physics Server' example, and leave it running. 

But I can't work out how to start the example browser. I can see references to the Example Browser in the main readme; but as I understand; those commands will be available after building from source.

Thanks
r9dyt
Posts: 5
Joined: Tue May 19, 2020 4:42 pm

Re: c++ examples are pip install pybullet

Post by r9dyt »

There are python script examples you can use. You need to compile C++ library in order to use C++ examples. In other words, you can’t run C++ examples in a python environment.
brent
Posts: 10
Joined: Tue May 05, 2020 4:01 pm

Re: c++ examples are pip install pybullet

Post by brent »

Right; thank you for confirming

And yes the python examples are hugely helpful for learning too.

Thanks