There are 5 repositories under nonlinear-model-predictive-control topic.
Nonconvex embedded optimization: code generation for fast real-time optimization
A Parallel Optimization Toolkit for Nonlinear Model Predictive Control (NMPC)
Python implementation of MPPI (Model Predictive Path-Integral) controller to understand the basic idea. Mandatory dependencies are numpy and matplotlib only.
An automatic code generator for nonlinear model predictive control (NMPC) and the continuation/GMRES method (C/GMRES) based numerical solvers for NMPC
MPC pathtracking implementation with python, solved by PANOC/IPOPT
Nonlinear Model Predictive Control for Self-Driving Vehicles based on Local Sequential Quadratic Programming by recursively calling ProxQP solver.
MATLAB sample codes for Robotics engineering
NMPC controller for trajectory tracking and obstacle avoidance