Coder Social home page Coder Social logo

cyscgzx33 / mkz_mpc_path_follower Goto Github PK

View Code? Open in Web Editor NEW

This project forked from govvijaycal/mkz_mpc_path_follower

0.0 1.0 0.0 1.45 MB

MPC Based Path Follower and Low Level Control for the Lincoln MKZ Dataspeed ADAS Kit.

CMake 2.07% Python 50.62% Julia 27.79% C++ 19.52%

mkz_mpc_path_follower's Introduction

mkz_mpc_path_follower

This is a project to use model predictive control (MPC) with the Lincoln MKZ DBW system developed by Dataspeed (found here: https://bitbucket.org/DataspeedInc/dbw_mkz_ros/).

The Twist Controller from Dataspeed is modified to allow acceleration and steering angle command directly.

A MPC module is added, using a nonlinear kinematic bicycle model and IPOPT solver in Julia, to follow a path generated by a separate path planning module.

Please email Vijay Govindarajan ([email protected]) with any comments or questions.

Install directions

  • Uses ROS Kinetic and Gazebo 7.0.
  • Follow https://bitbucket.org/DataspeedInc/dbw_mkz_simulation to install the MKZ simulator.
  • You then need to install the following for running the MPC code:
    • Julia 0.4.7
    • sudo apt-get -y install hdf5-tools
    • sudo apt-get install -y build-essential gfortran pkg-config liblapack-dev libblas-dev
    • In Julia terminal:
      • Pkg.add("RobotOS")
      • Pkg.add("JLD")
      • Pkg.add("Ipopt")
      • Pkg.add("PyPlot")
      • Pkg.add("JuMP")
      • Pkg.update()

Usage

roslaunch mkz_mpc_path_follower lane_keep_demo_vg.launch

mkz_mpc_path_follower's People

Contributors

govvijaycal 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.