Grid based search
Breadth First Search
This is a 2D grid based path planning with Breadth first search algorithm.
![https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/BreadthFirstSearch/animation.gif](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/BreadthFirstSearch/animation.gif)
In the animation, cyan points are searched nodes.
Depth First Search
This is a 2D grid based path planning with Depth first search algorithm.
![https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/DepthFirstSearch/animation.gif](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/DepthFirstSearch/animation.gif)
In the animation, cyan points are searched nodes.
Dijkstra algorithm
This is a 2D grid based shortest path planning with Dijkstra’s algorithm.
![https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/Dijkstra/animation.gif](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/Dijkstra/animation.gif)
In the animation, cyan points are searched nodes.
A* algorithm
This is a 2D grid based shortest path planning with A star algorithm.
![https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/AStar/animation.gif](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/AStar/animation.gif)
In the animation, cyan points are searched nodes.
Its heuristic is 2D Euclid distance.
Bidirectional A* algorithm
This is a 2D grid based shortest path planning with bidirectional A star algorithm.
![https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/BidirectionalAStar/animation.gif](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/BidirectionalAStar/animation.gif)
In the animation, cyan points are searched nodes.
D* algorithm
This is a 2D grid based shortest path planning with D star algorithm.
![https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/DStar/animation.gif](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/DStar/animation.gif)
The animation shows a robot finding its path avoiding an obstacle using the D* search algorithm.
Ref:
D* lite algorithm
This is a 2D grid based path planning and replanning with D star lite algorithm.
![https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/DStarLite/animation.gif](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/DStarLite/animation.gif)
Ref:
Potential Field algorithm
This is a 2D grid based path planning with Potential Field algorithm.
![https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/PotentialFieldPlanning/animation.gif](https://github.com/AtsushiSakai/PythonRoboticsGifs/raw/master/PathPlanning/PotentialFieldPlanning/animation.gif)
In the animation, the blue heat map shows potential value on each grid.
Ref: