Skip to content

A Robot path planning Genetic algorithm implemented in Python.

Notifications You must be signed in to change notification settings

AhmedReda85/RobotPathGA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

RobotPathGA

A Robot path planning Genetic algorithm implemented in Python

Features

Generate a grid with obstacles. Specify start and goal points. Visualize the pathfinding process. Displays the best fitness score and current generation.

Getting Started

Prerequisites

Make sure you have Python installed on your machine. You also need to install the following libraries:

NumPy You can install NumPy using pip:

  pip install numpy

How to Run the Application

Clone the repository to your local machine:

git clone https://github.com/AhmedReda85/RobotPathGA.git

Navigate to the project directory:

cd path-planning

Run the application:

python main.py

Input the grid size, start point, goal point, and obstacle ratio.

Usage

  1. Grid Size: Set the size of the grid (e.g., 10 for a 10x10 grid).
  2. Start Position: Enter the starting coordinates (x, y).
  3. Goal Position: Enter the goal coordinates (x, y).
  4. Obstacle Ratio: Set the ratio of obstacles in the grid (between 0 and 1).

Contributions

Feel free to contribute! Open an issue or submit a pull request if you have suggestions or improvements.

About

A Robot path planning Genetic algorithm implemented in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages