Coder Social home page Coder Social logo

balamuruganky / mpc_waypoint_tracking_controller Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 2.16 MB

Model Predictive Control (MPC) based waypoint tracking controller (ROS navigation stack local planner plugin)

License: Apache License 2.0

CMake 0.49% Python 0.04% C++ 99.47%
mpc ros ros-melodic waypoint-following local-planner path-tracking movebase navigation ros-navigation model-predictive-controller

mpc_waypoint_tracking_controller's Introduction

MPC Waypoint Tracking Controller (Local Planner for ROS Navigation)

Abstract

To move the robot on the predefined path accurately based on the plan shall be published by Global planner. Non linear model predictive controller shall help to calculate the cmd_vel based on the desired trajectory. This local planner shall be used along with WaypointsGlobalPlanner.

mpc_demo

Dependencies

- CppAD (included in this build)
- Ipopt (included in this build)
- Eigen (sudo apt install libeigen3-dev)

How to compile (Assumed that the catkin workspace setup already)

- cd catkin_ws/src
- git clone https://github.com/balamuruganky/mpc_waypoint_tracking_controller
- cd ..
- catkin_make

Configuration

Please refer MoveBase Parameters

Caveats

- Robot Position and orientation must be towards initial waypoint position and orientation.
- Waypoints must be dense enough to calculate the cmd_vel.

Demo

Please clone bbblue_bot to run demo of mpc_waypoint_tracking_controller along with waypoints_global_planner

How to run the demo

Rviz

roslaunch bbblue_navigation navigate_waypoints_slam.launch

Global Path Plan

roslaunch waypoints_global_planner desired_path_provider.launch

Change the Global plan

Modify the points based on your need in this file and relaunch the above global path plan launch file.

Please note that, the robot current pose must be the starting pose of the global path plan.

Credits

- https://github.com/Geonhee-LEE/mpc_ros
- https://github.com/Hypha-ROS/hypharos_minicar

TODO

- Test the controller with different desired trajectories
- Remove the dependency of robot current pose must be the start pose of the global plan.

mpc_waypoint_tracking_controller's People

Contributors

balamuruganky avatar

Stargazers

 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.