Coder Social home page Coder Social logo

me6984_autonomous_car_mpc's Introduction

Codes for the control of an autonomous car using MPC

This code has the following files (for path of 8 shape):
- dynamics_auto_car: First, build the model using the Kinematic Car Model and get the mex files in the current directory

- MPC_Run : Run the MPC Code and update state using ode45. Set the velocity and radius at lines 12 and 13 of your choice to see if the model works for the set values. Uncomment the last section to generate animation. This file also generates the plots

- MPC_Car: Function To build the matrices for MPC and uses the QPSwift solver to get the optimal decision variables values.

- gettraj: Function to generate the trajectory given radius and velocity

- Animate_Car: Function for Animation

- Robustness_final: Run To evaluate robustness. Change the value of 'Change_perc' at line 12.

For path of Sin shape:
- MPC_Run_sin: Run the MPC Code, get animations and plots

- gentraj_sim: To get the sin trajectory

- Animate_Car_sin: Function for animation
 

me6984_autonomous_car_mpc's People

Contributors

subhamss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.