GithubHelp home page GithubHelp logo

ik-mpc's Introduction

IK-MPC

Python CMake

Powered by the Robotics Toolbox

Inverse Kinematics-based Model Predictive Control for Robot Motion Planning. Using Numerical inverse kinematics of a URDF model and Linear Quadratic Model Predictive Control (LQ-MPC), this code computes desired joint commands to follow reference path(s) that a robot needs to follow. Original MATLAB version and detailed documentation are available at manipulator-mpc.

Acknowledgment

Thanks for Tyler Toner to share the code base with us.

Table of Contents


Repository Structure

├── images   
├── MPC 
│   └── uncMPC.py
├── meshes/m0609_white
│   ├── MF0609_0_0.dae
│   ├── MF0609_1_0.dae
│   ....
├── urdf
│   └── m0609.urdf
└── MPC_trajectory_following.py 

Download Process

git clone https://github.com/kidpaul94/IK-MPC.git
cd IK-MPC/
pip3 install -r requirements.txt

How to Run

Note You need to set absolute paths for each mesh file called by m0609.urdf. In MPC_trajectory_following.py, you also need to provide a path to the urdf you just modified. Then,

 python3 MPC_trajectory_following.py

How to Apply on Your Robot

Note To apply this code to your own robotic model, you need your custom urdf file. You can build the urdf using any CAD software such as SolidWorks or Fusion360. If you don't want to use a numerical IK, it is also possible to compute an analytical IK by using IKFast. For more details about how to get the IKFast analytical solution, check out ROS MoveIt.

Citation

@inproceedings{rtb,
title={Not your grandmother’s toolbox--the Robotics Toolbox reinvented for Python},
author={Corke, Peter and Haviland, Jesse},
booktitle={2021 IEEE International Conference on Robotics and Automation (ICRA)},
pages={11357--11363},
year={2021},
organization={IEEE}
}

ToDo Lists

Documentation Progress

ik-mpc's People

Contributors

kidpaul94 avatar

Stargazers

 avatar Blackbird avatar  avatar yapeng avatar  avatar Pengyu Chen avatar Tyler Toner avatar

Watchers

 avatar

Forkers

purduelamm

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.