Giter Club home page Giter Club logo

mpc-python's Introduction

Description

Model predictive control algorithms applied to various dynamic systems, developed in Python. Using the do-mpc and casadi package in Python. Systems implemented:

  • Spaceship
  • Kinematic bicycle model

Contents

  • models: Contains subfolders for each model. Model directory will have a description of the system, animated results and plots, and details for how to modify trajectories and tune parameters.
  • template: Contains template code to implement MPC on new systems with do-mpc package.
  • visualizer [WIP]: Folder containing Unity assets, resources, and scripts to visualize results from MPC control.

Dependencies

A conda environment running Python 3.x is recommended with the following packages

  • numpy
  • CasADi
  • matplotlib

The details for installing do-mpc can be found here: https://www.do-mpc.com/en/latest/installation.html

It is recommended to install the HSL MA27 solver for faster computation, which can be found here: http://www.hsl.rl.ac.uk/ipopt/

mpc-python's People

Contributors

se-hwan avatar

Stargazers

Vishal avatar AI for Intelligent Systems avatar Dennis Deng avatar Yongming Yue avatar JCH avatar weske avatar xiaoyang avatar Haoyu Wang avatar songchao avatar Copilot-Robotics avatar thomas-yanxin avatar Sagar Rajendran avatar  avatar

Watchers

Yu Zhang avatar  avatar

mpc-python's Issues

Different use-case

Hi
Thanks for sharing your code & experiment.
I am new to MPC and tried a variation of your exemple to try to park a car like this:

image

I just changed the initial conditions and the cost function but it does not seem to work. Do you this any good reason for this not to work ?

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.