To run, first install Anaconda
Then, in a conda prompt, we're going to create a new virtual python environment and install pybullet (and compas_fab) to it. Type
conda config --add channels conda-forge
conda create -n my-project compas_fab spyder pybullet
Now, every time you open the Anaconda prompt, activate your environment using
activate my-project
Having activated the shiny new environment, we can run the Spyder scientific integrated development environment (IDE). Simply Type
spyder
Once open, load the "arm_pybullet.py" file. This can now be run to produce the VS068 demo.
See the pyBullet quickstart guide for info on how to use the API. Of particular interest may be the section on calculateInverseKinematics (to find the joint values to reach a specific end effector point).
Additionally, for Grasshopper/COMPAS_FAB integration, these documents are instructive. The command
python -m compas_rhino.install
should make compas available to Grasshopper.
pip install -e .