Code Monkey home page Code Monkey logo

safempc_obstacleavoidance's Introduction

Safe Model Predictive Control Approach for Non-holonomic Mobile Systems in Dynamic Environment

This is an MPC project for motion planning & control of non-holonomic mobile systems

Have fun~~

๐Ÿ˜

๐Ÿ˜

๐Ÿ˜

1. Video & Paper

our project video can be found here

our paper (preprint) can be found here

2. How to run the files:

  1. In order to run the files, please make sure you have FORCESPRO installed and in the python PATH (tested on FORCESPRO 5.1.1).

  2. There are multiple simulations you can run:

./controller/MPC_static_obstacle.py contains an MPC controller + simulation for the global model of the unicycle, linearised about the trajectory. You can choose parameters such as trajectory, horizon and Q/R costs for the controller. You can also set it to avoid a static obstacle (how to do that is explained in the code comments) using the two linear constraints.

./controller/LQR.py is the LQR controller, which is unconstrained and solves the DARE to find the K that follows the pre-defined trajectory.

./controller/MPC_dynamic_obstacle.py is the two robots simulation where one of the robots avoids the other one by using a velocity constraint. Run this file to see how the controller performs. You can change the parameters for the trajectories to evaluate the performance on a shared or intersecting path.

./model/MPC_utils.py Open this file, uncomment the section at the bottom and run the file to see an example of how the outer approximation of the terminal set is calculated and plotted.

safempc_obstacleavoidance's People

Contributors

xinjie-liu avatar vassil17 avatar

Stargazers

LetianFu avatar Chuanqi Chen avatar  avatar climb avatar  avatar Zheyu avatar JUNGEE HONG avatar MasdikaAliman avatar  avatar  avatar  avatar  avatar Shuaikang Wang avatar Zhao Junwu avatar  avatar  avatar  avatar  avatar mumuxi avatar  avatar  avatar Manasvi Saxena 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.