An open API service indexing awesome lists of open source software.

https://github.com/fer14/rapidly-exploring-random-trees

Path finding using the algorithm RapidExploringRandomTrees
https://github.com/fer14/rapidly-exploring-random-trees

Last synced: over 1 year ago
JSON representation

Path finding using the algorithm RapidExploringRandomTrees

Awesome Lists containing this project

README

          

# RRT simulation in Python

![logo](imgs/black.png)

A simple Python-based simulation of path finding using the algorithm RapidExploringRandomTrees

## Introduction

This project is a simple simulation of path finding using the algorithm RapidExploringRandomTrees. The simulation is written in Python and uses the PyGame library for the graphical interface.

[rrt.webm](https://github.com/Fer14/rapidly-exploring-random-trees/assets/36365106/101accce-5e54-4e34-8124-a9ccb2ea249f)

## Installation

Clone the repository:

```bash
git clone https://github.com/Fer14/rapidly-exploring-random-trees
```

Change into the project directory:

```bash
cd rapidly-exploring-random-trees
``````

Install the necessary libraries:

```bash
pip install -r requirements.txt
```

## Usage

Run the simulation:

```bash
python rrt.py
```

## Simplified version

Aditionally there is a simplified version of the rrt algorithm that looks like this:

[rrt_simplified.webm](https://github.com/Fer14/rapidly-exploring-random-trees/assets/36365106/7aa6f2bb-a7d7-42b9-ae6a-a73ef926ca2b)

To run it, simply ro:

```bash
python rrt.py --simplified
```

## Contributing

If you would like to contribute to this project, please follow these steps:

- Fork the repository on GitHub.
- Clone the forked repository to your local machine.
- Create a new branch for your feature or bug fix.
- Implement your changes and test them.
- Commit your changes with descriptive commit messages.
- Push the changes to your fork on GitHub.
- Create a pull request to the original repository.

![logo](imgs/white.png)