Consensus Complementarity Control
This is a standalone repository for the C3 algorithm. For more in-depth examples, see dairlib.
Currently, it is only confirmed that this process works on Ubuntu 20.04 with Python 3.8!
- Install Drake via apt, following instructions https://drake.mit.edu/apt.html#stable-releases
- Download and extract Gurobi 9.5.0: https://packages.gurobi.com/9.5/gurobi9.5.0_linux64.tar.gz
- Install pyc3
pip install https://github.com/DAIRLab/c3/releases/download/v0.0.1/pyc3-0.0.1-py3-none-linux_x86_64.whl
- Set LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/drake/lib/:<GUROBI_LOCATION>/linux64/lib
See src/test/c3_py_ti_test.py