/Vehicle-Model-MPC

Vehicle-Model-MPC

Primary LanguageC++MIT LicenseMIT

CarND Controls Quizzes

Quizzes for Vehicle Models and Model Predictive Control sections.

  1. Global Kinematic Model Quiz - Implement the Global Kinematic Model.
  2. Polynomial Fitting Quiz - Fit and evaluate polynomials.
  3. Mind The Line Quiz - Implement MPC and minimize cross track and orientation errors to a straight line trajectory. See this document for setup tips for executing the plotting code in the MPC.cpp solution file.

To do a quiz:

  1. Go to quiz directory.
  2. Make a build directory with mkdir build.
  3. Change into the build directory, cd build.
  4. Compile the project, cmake .. && make.

A solution for each quiz is presented in the solution directory.

Dependencies

The Global Kinematic Quiz and Polynomial Fitting quizzes have all the dependencies in repo. For the MPC quiz you'll have to install Ipopt and CppAD. Please refer to this document for installation instructions.