/CarND-MPC-Project

CarND Term 2 Model Predictive Control (MPC) Project

Primary LanguageC++MIT LicenseMIT

MPC Project

Udacity - Self-Driving Car NanoDegree

Overview

This repository is for the project of Udacity Nanodegree - Self-driving Car Engineer : MPC Proejct. It is forked from https://github.com/udacity/CarND-MPC-Project).

The goals / steps of this project are the following:

  • Understand how MPC works in Vehicle Control
  • Implement MPC in C++ and apply it to the simulator

File Structure

  • main.cpp - communicates with the Simulator receiving data measurements, calls a function to run MPC
  • MPC.cpp - Calculates cost and predict new actuator values

Dependencies

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./mpc.