Skip to content

akin2662/Dijkstra-s-algorithm-for-2D-robot-path-planning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Dijkstras Algortihm for path planning of a point robot in 2D space

Project Description:

This script contains an implementation of the Dijkstras algorithm for a point robot for navigation around obstacles in a 2D space.

Dependencies:

  • python 3.11 (any version above 3 should work)
  • Python running IDE (We used Pycharm)

Libraries Used:

  • OpenCV
  • Numpy
  • HeapQ
  • Time

Instructions

  1. Download the zip file and extract it

  2. Install python and the required dependencies:

    pip install numpy opencv-python

  3. Run the code or use desired python IDE:

    $python3 djikstra_point_robot.py

Input the X and Y coordinates of the start and goal node, when prompted in the Terminal

Demo

rrtconnect_apf

Note: The resolution of the output video is low because the array generated (image) is of high dimensions. You coud resize the output dimensions, by changing the 'resize' variable factor at the top of the code. If in case you get numpy exception error, where in memory is not enough to store the array, check this link: https://stackoverflow.com/questions/57507832/unable-to-allocate-array-with-shape-and-data-type

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages