Giter VIP home page Giter VIP logo

lbmpc's Introduction

lbmpc_ipm

This is an implementation of Learning-Based Model Predictive Control (LBMPC) that uses the LBmpcIPM solver. LBmpcIPM is a sparse primal-dual infeasible start interior point method implementation based on Mehrotra's predictor-corrector scheme. This open-source solver is written in C++ and freely available under the BSD licence. The solver is tailored towards QP-LBMPC, and is provided to enable the rapid implementation of LBMPC on other platforms. Another salient feature is that its solving times scales linearly in the prediction horizon.

Aside from the implementation, this repository also contains the source code of LBmpcIPM and a short documentation on how to use the solver. Further details on the implementation can be found here

Prerequisites

Prior to compiling and running the simulations, make sure the following applications and libraries are available on the computer:

  • LBmpcTP.h (template class file of LBmpcIPM)
  • Eigen3
  • CMake

Compiling examples

cd lbmpc_ipm
mkdir build
cd build
cmake ..
export N_MPC_STEPS=15 # or whatever..
make

Creating data files

Example from documentation

(in MATLAB):

>> cd lbmpc_ipm/matlab/example0
>> Init

Quadrotor example

(in MATLAB):

>> cd lbmpc_ipm/matlab/qr_example
>> Init

How to run examples

Example from documentation

cd lbmpc_ipm
build/bin/example0 matlab/example0/ConstrParam.bin

Quadrotor example

cd lbmpc_ipm
build/bin/qr_example matlab/qr_example/quad.bin

Back to home

lbmpc's People

Contributors

pbouffard avatar

Watchers

James Cloos 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.