Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.21 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.21 KB

Selfdriving-MPC

自动驾驶中MPC模型预测控制,是udacity中的开源项目。

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.