Skip to content

kavyadevd/PointRobotPlanning

Repository files navigation

License

PointRobotPlanning

Planning for a point robot using Dijkstra algorithm

Requirements

Python 3 Open CV

Arena:

Steps to execute

python3 Dijkstra.py

Terminal will show the final path after computation is finished and a OpenCV showing robot exploration space will be launched. On closing exploration space video, the final path plot visialisation can be seen
Goal is indicated by green text on map

Results

Original speed 4xspeed explore all
Output Explore_all
Output Output

Path plot example

PathPlot

Note:

Visulation done using Mathplotlib can be seen on branch Mathplotlib As this visualtion is slow becuase of Mathplotlib limitations, same visialisation was implemented using OpenCV which is present in the main branch.

Move Logic

Find possible moves for each step

<img src="https://user-images.githubusercontent.com/13993518/156101896-ff6c9c3d-aa50-43a5-a714-ca455f7346bc.png" width="250"/> Figure 1: Possible moves

Weight for each action is as follows:

Figure 2: Weight of each action

About

Planning for a point robot using Dijkstra algorithm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages