Coder Social home page Coder Social logo

liwanyue123 / rf-mpc-uav Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 6.43 MB

The RF-MPC algorithm, originally designed for quadruped robots, is adapted for use with UAVs after some modifications.

License: MIT License

MATLAB 99.41% M 0.33% Mercury 0.26%

rf-mpc-uav's Introduction

RF-MPC-UAV

The RF-MPC algorithm, originally designed for quadruped robots (https://github.com/YanranDing/RF-MPC), is adapted for use with UAVs after some modifications.

If the image fails to load, please try refreshing the page or check your internet connection.

I have provided a simple trajectory without considering the quadrotor UAV's dynamic constraints and optimization. You can run test_traj.m to see the results.

If the image fails to load, please try refreshing the page or check your internet connection.

Requirement

Basic: MATLAB and MATLAB optimization toolbox

Optional: qpSWIFT (can be obtained from https://github.com/qpSWIFT)

Installation

There is no need to install external packages.

Usage

Navigate to the root directory and run the MAIN_UAV.m function

MAIN

The Plant

The robot is modeled as a single rigid body (SRB). The SRB dynamics is defined in ...\fcns\dynamics_SRB_UAV.m

VBL and vectorization

The code for variation-based linearization and vectorization steps is in ...\fcns_MPC\fcn_get_ABD_eta_UAV.m

Quadratic Program (QP)

The code for QP formulation is in ...\fcns_MPC\fcn_get_QP_form_eta_UAV.m

The QP could be solved by either the MATLAB QP solver quadprog or an efficient QP solver qpSWIFT (coming soon!)

References

This code is based on the following paper:

  • Yanran Ding, Abhishek Pandala, Chuanzheng Li, Young-Ha Shin, Hae-Won Park "Representation-Free Model Predictive Control for Dynamic Motions in Quadrupeds". In IEEE Transactions on Robotics.

Acknowledgments

Thanks to Yanran Ding

rf-mpc-uav's People

Contributors

liwanyue123 avatar

Stargazers

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