Coder Social home page Coder Social logo

cedricxie / carnd-mpc-quizzes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from udacity/carnd-mpc-quizzes

0.0 2.0 0.0 2.48 MB

CarND MPC Quizzes

CMake 1.91% C++ 82.45% C 2.11% Shell 0.18% Cuda 1.19% Fortran 11.96% Python 0.08% JavaScript 0.07% CSS 0.05%

carnd-mpc-quizzes's Introduction

CarND Controls Quizzes

Quizzes for Vehicle Models and Model Predictive Control sections.

  1. Global Kinematic Model - Implement the Global Kinematic Model.
  2. Polynomial Fitting - Fit and evaluate polynomials.
  3. MPC - Implement MPC and minimize cross track and orientation errors to a straight line trajectory.

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.

  • Ipopt
    • Mac:
        brew tap homebrew/science
        brew install ipopt --with-openblas
      
    • Linux
      • This Dockerfile might be helpful.
      • You will need a version of Ipopt 3.12.1 or higher. The version available through apt-get is 3.11.x, sudo apt-get install coinor-libipopt-dev. If you can get that version to work great but if not there's a script install_ipopt.sh that will install Ipopt. You just need to download the source from here.
      • Then call install_ipopt.sh with the source directory as the first argument, ex: bash install_ipopt.sh Ipopt-3.12.1.
    • Windows: TODO. If you can use the Linux subsystem and follow the Linux instructions.
  • CppAD
    • Mac: brew install cppad
    • Linux sudo apt-get install cppad or equivalent.
    • Windows: TODO. If you can use the Linux subsystem and follow the Linux instructions.

carnd-mpc-quizzes's People

Contributors

domluna avatar awbrown90 avatar hiddestokvis avatar shernshiou avatar

Watchers

James Cloos avatar Yuesong Xie 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.