Git Product home page Git Product logo

prm-blended-potential-field-path-planning's Introduction

Probabilistic Road Map mixed Artificial Potential Field Path Planning

Overview

Probabilistic roadmap (PRM) algorithm generates graphs to perform path planning with complex constraints and high dimensions but has some limitations in situations like narrow pathways and environments with dynamic obstacles. This drawback of PRM is usually solved by increasing the number of randomly generated sampling points. However, too many sampling points will increase the computational complexity resulting in poor performance. Hence to overcome these limitations PRM with potential fields can be implemented. Potential field can be generated for the workspace, will help determine the complexity of workspace and adequate number of sampling points required, and then ensure high density of sampling points around the obstacles by implementing a regional sampling strategy.

Project Report

Distribution of Sampling points using Adaptive solution:

  1. Calculate Repulsive potential for each point q in the map generated by obstacle qo.
  2. Determine Number of Sampling Points.
  3. Using bounding range for open area and obstacle region sampling point can be distributed in the map.

Dependencies

  • Ubuntu18
  • ROS Melodic
  • python3.x
  • NumPy
  • cv2
  • panda
  • Matplotlib
  • sklearn
  • shapely

Steps to run the code

Build and Install ROS dependencies

cd <your_workspace>/src
git clone https://github.com/Prat33k-dev/PRM-Blended-Potential-Field-Path-Planning.git
cd ../
rosdep install --from-paths src --ignore-src -r -y
catkin_make

Genrate path coordinates file

First need to genrate .csv file of path coordinates to follow from start to goal location.

cd <your_workspace>/src/PRM-Blended-Potential-Field-Path-Planning/prm_apf_planner
python3 src/main.py --start 6 1 --goal 19 19 --FilePath './map/map.png' 

Parameters

  • start - Start position of the robot. Default :- [6 1]
  • goal - Goal position of the robot. Default :- [19 19]
  • FilePath - map file path. Default :- './map/map.png'

Run the simulation

cd <your_workspace>
source /devel/setup.bash
roslaunch prm_apf_planner simulation.launch

Results

Environment Occupancy Map
env env

Potential field

Around the Obstacle Heatmap
env env

Path planned by PRM-APF blend

Demonstration

gif

Authors

Refrences

[1] H. You, G. Chen, Q. Jia and Z. Huang, "Path Planning for Robot in Multi- dimensional Environment Based on Dynamic PRM Blended Potential Field," 2021 IEEE 5th Information Technology,Networking,Electronic and Automation Control Conference (ITNEC), 2021, pp. 1157-1162, doi: 10.1109/ITNEC52019.2021.9586848. (Link)

[2] P. Fankhauser and M. Hutter, "A Universal Grid Map Library: Implementation and Use Case for Rough Terrain Navigation", in Robot Operating System (ROS) โ€“ The Complete Reference (Volume 1), A. Koubaa (Ed.), Springer, 2016. (Link)

[3] https://www.cs.cmu.edu/~motionplanning/lecture/Chap4-Potential-Field_howie.pdf.

prm-blended-potential-field-path-planning's People

Contributors

maarufvazifdar avatar prat1kbhujbal avatar

Stargazers

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