https://github.com/kr1zzo-fer/path-planning-astar-demo
This repository is a part of the diploma project at the Faculty of Electrical Engineering and Computing, University of Zagreb, Laboratory for Underwater Systems and Technologies.
https://github.com/kr1zzo-fer/path-planning-astar-demo
astar-algorithm costmap marine-robotics path-planning
Last synced: 9 months ago
JSON representation
This repository is a part of the diploma project at the Faculty of Electrical Engineering and Computing, University of Zagreb, Laboratory for Underwater Systems and Technologies.
- Host: GitHub
- URL: https://github.com/kr1zzo-fer/path-planning-astar-demo
- Owner: kr1zzo-FER
- Created: 2024-04-12T16:32:43.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T10:10:57.000Z (about 2 years ago)
- Last Synced: 2025-01-10T14:29:01.575Z (over 1 year ago)
- Topics: astar-algorithm, costmap, marine-robotics, path-planning
- Language: Python
- Homepage:
- Size: 9.35 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Path-planning-Demo : Overview of the grid search algorithm A* for global vessel path planning on cost map

## Project Description
This repository is a part of the diploma project at the Faculty of [Electrical Engineering and Computing, University of Zagreb](https://www.fer.unizg.hr/), [Laboratory for Underwater Systems and Technologies](https://labust.fer.hr/).
Repository is a predecessor of the diploma thesis repository [Model-informed path planning and control for autonomous vessels](https://github.com/kr1zzo/Model-Informed-Path-Planning) and it is used for concept validation and testing of path planning A* algorithm on the 2D grid cost map. The algorithm is implemented in Python and uses the Pygame library for visualization.
## Installing
```terminal
git clone https://github.com/kr1zzo/Path-planning-Demo.git
```
## Requirements
```terminal
pip install -r requirements/requirements.txt
```
## Execution
To run the simulation, in the `scripts` folder execute the following command in the terminal:
```bash
python3 pathfinder.py
```
1. Press Tab to generate costmap
2. Select the start and goal point by clicking on the map (left click)
3. Add optional obstacles by clicking on the map (right click)
4. Press start to run the path planning algorithm
Figure 1: Costmap generated by the path planning algorithm
## Results
Results and detailed project descriptions can be found in the `documentation/report.pdf` file. The report discusses how different cost map values and heuristic functions affect the path planning algorithm's performance for the different start and goal points. The report also discusses the algorithm's limitations and possible improvements.
Check out the [Model-informed path planning and control for autonomous vessels](https://github.com/kr1zzo/Model-Informed-Path-Planning) repository for more advanced path planning algorithms and control strategies.
Figure 2: Example of A* path-planning between Rijeka and Baška, island Krk in Croatia
## Credits
#### [© Faculty of Electrical Engineering and Computing, University of Zagreb, 2024](https://www.fer.unizg.hr/)
#### [© Laboratory for Underwater Systems and Technologies (LABUST)](https://labust.fer.hr/)



Contributors names and contact info
Author|GitHub | e-mail
| :--- | :---: | :---:
Enio Krizman | [@kr1zzo](https://github.com/kr1zzo) | enio.krizman@fer.hr
Mentors | e-mail
| :--- | :---:
Doc. Dr. Sc. Đula Nađ | dula.nad@fer.hr
Dr. Sc. Nadir Kapetanović | nadir.kapetanovi@fer.hr