Giter VIP home page Giter VIP logo

nmpc_controller's Introduction

nmpc_controller

Overview:

This repository contains the source code for a Nonlinear Model Predictive Control (NMPC) controller designed for trajectory tracking and obstacle avoidance. The controller can perform avoiding action from both static and moving obstacles. It is developed using Python 3.10.11. and is intended for use as a local planner for a differential drive robot in a factory environment, though adaptable for use with different scenarios and vehicle dynamics.

Features:

The developed controller can accurately track a feasible trajectory and avoid both static and moving obstacles. It is agnostic to the shape and dimension of the obstacles and needs no a priori knowledge of its trajectory. Further, it is easily tunable to better accommodate the specifics of the use case considered.

Installation:

To use this NMPC controller, clone this repository to your local machine:

git clone https://github.com/frmadeira/nmpc_controller.git
cd nmpc_controller

Usage and configuration:

To use the code considering a differential drive vehicle, please only change the variables in the function variable_definition(). These variables are as follows: controller's operating frequency (f); prediction horizon length (N); cost function weighting coefficient (lambda); vehicle's wheel-base (L); vehicle's maximum velocity (v_max); vehicle's maximum acceleration (a_max); safety distance (d_safe); voxel cell's dimensions (voxel_size); maximum range for occupancy map (max_range); minimum value for view-window of occupancy map (data_min); maximum value for view-window of occupancy map (data_max) and distance from reference that triggers replanning (d_replan)

Contact:

For any questions regarding the project, its usage or any suggestions, feel free to contact: [email protected]

Acknowledgements:

This project was developed as part of a Master's thesis for Instituto Superior Técnico, University of Lisbon.

nmpc_controller's People

Contributors

frmadeira avatar

Stargazers

 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.