Go to file
mcarfagno 1d6c686eaf added notebook on track rework 2021-04-20 16:26:38 +01:00
img updated README with nicer gifs from latest implementation 2020-11-02 14:44:31 +00:00
mpc_pybullet_demo updated README with nicer gifs from latest implementation 2020-11-02 14:44:31 +00:00
notebooks added notebook on track rework 2021-04-20 16:26:38 +01:00
.gitignore update .gitignore 2020-12-10 21:11:37 +00:00
README.md less cringy readme 2021-04-14 15:17:16 +01:00
requirements.txt Added obstacle avoidance 2020-06-29 15:31:43 +01:00

README.md

mpc_python

I keep here my Jupyter notebooks on R&D on Model Predictive Control applyied to path-following problems in driverless vehicles. Includes also a Pybullet simulation to showcase the results. This mainly uses CVXPY as a framework.

Notebooks Contents

  1. State space model derivation -> analytical and numerical derivaion

  2. MPC -> implementation and testing various improvements

  3. Obstacle Avoidance -> Using constrains to avaoid collisions

Results

Racing car model is from: https://github.com/erwincoumans/pybullet_robots.

Results:

To run the pybullet demo:

python3 mpc_demo/mpc_demo_pybullet.py

To run the simulation-less demo:

python3 mpc_demo/mpc_demo_pybullet.py

Requirements

pip3 install --user --requirement requirements.txt

References & Special Thanks: