Skip to content

Implemented Model Predictive Controller on a car running in a simulator. Used global kinematic model for vehicle and IPOPT for MPC optimization, calculating steering and throttle values for the car.

License

Notifications You must be signed in to change notification settings

tmaandi/Model_Predictive_Control_Project

Repository files navigation

Model Predictive Control Project


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.

Project Summary

This project contains the implementation of a Model Predictive Controller on a car running in a simulator. The goal is to make the car complete the lap succesfully without going off-road. The outputs of the controller are throttle and steering angle. The vehicle model used here is a simple Global Kinematic Vehicle Model. The IPOPT optimizer is used for finding the optimum control outputs based on a given set of constraints and cost equations. The car tries to closely track the cubic fit of the given way-points.

About

Implemented Model Predictive Controller on a car running in a simulator. Used global kinematic model for vehicle and IPOPT for MPC optimization, calculating steering and throttle values for the car.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published