Python Portfolio
This gallery is the Python-facing showcase for the pycddp bindings. Each
demo is solved directly from Python, then rendered as an animation with
Matplotlib.
Interactive Demo Gallery
Solver results presented as a web-first portfolio
These examples are the quickest way to understand what the Python bindings actually produce: constrained solves, animated trajectories, and compact reproducible workflows.
Regenerate the gallery
source .venv/bin/activate
python examples/python_portfolio.py --demo all --output-dir docs/assets/python_portfolio
Demos
Pendulum Swing-Up
Torque-limited CLDDP solve for a damped pendulum.
Cart-Pole Swing-Up
Bounded-force CLDDP solve that swings the pole upright and
settles near the origin.
Unicycle Obstacle Avoidance
IPDDP solve with a circular obstacle constraint, showing how
the Python bindings can drive constrained trajectory visualization
directly from Python.
MPCC Racing Line
Full-lap contouring control on a compact circuit, solved from Python with a custom nonlinear objective and a lightweight bicycle model.
This is a compact kinematic MPCC-style showcase rather than a full
reproduction of the controller in Liniger et al. The bundled track data
is derived from the
alexliniger/MPCC
reference implementation.