Skip to content
/ mpc_ros Public
forked from Geonhee-LEE/mpc_ros

Nonlinear Model Predictive Control on Differential Wheeled Mobile Robot using ROS

License

Notifications You must be signed in to change notification settings

OkDoky/mpc_ros

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub issues open GitHub forks GitHub stars GitHub license

Nonlinear Model Predictive Control

Abstract

The goal of this repository is to implement the path tracking algorithm of mobile robot using the Nonlinear Model Predictive Control(NMPC), one of the optimal controllers. The NMPC can provide the poweful and effective performance among existing optimal controllers since it can have the preview ability and easy to regulate constraints. This repository is based on ROS(Robot Operating System). Therefore it supports the local planner plugin and standalone node as well.
Only for using tracking global planner.

Features

  • Nonlinear Model Pridictive Control (through ipopt solver)
  • Wheeled Mobile Robot
  • Differential Drive Type Mobile Robot

Installation

  1. Ubuntu 18.04

  2. Install ROS Melodic.

  3. Install ROS dependencies.

    sudo apt install ros-melodic-costmap-2d \
    ros-melodic-move-base \
    ros-melodic-global-planner \
    ros-melodic-amcl
    
  4. Install Ipopt: Please refer the tutorial in "document/ipopt_install".

  5. Create your own catkin_ws and clone the repositories.

    git clone https://github.com/OkDoky/mpc_ros.git 
    
  6. Build (catkin_make) and Try it.

Run tracking the reference line with MPC

  • Tracking the trajectory such as infinity-shaped, epitrochoid, square using non-linear model predictive control.
roslaunch mpc_ros ref_trajectory_tracking_gazebo.launch

How to use as local planner

  • After building successfully, you should just change the base_local_planner param with mpc_ros/MPCPlannerROS.
<param name="base_local_planner" value="mpc_ros/MPCPlannerROS"/>

Youtube video


Video Label

About Autor

Contact: [email protected]
Date: 2020/05/02
License: Apache 2.0

About Editor

Contact : [email protected] Date : 2023/07/12

Reference

About

Nonlinear Model Predictive Control on Differential Wheeled Mobile Robot using ROS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C++ 99.5%
  • Other 0.5%