Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.45 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.45 KB

PyBullet demo - VS068

Robot demo

Initial install

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

Running the Spyder python IDE

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.

Expanding

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.

Package installation

pip install -e .