Skip to content

About

A Python-alapú 3D útvonaltervező, amely egy robotkar számára tervezi meg az optimális útvonalat.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

RobotPathPlanner


Overview

The RobotPathPlanner project is a Python-based 3D path planning tool designed to find the shortest route for a robot to navigate a 3D space with obstacles. The project includes graph generation, pathfinding algorithms, and visualization features.


Features

  1. Configuration Handling:
    • Reads and validates a JSON configuration file containing space size, grid resolution, obstacles, start, and goal points.
  2. Graph Generation:
    • Creates a 3D grid-based graph, removing nodes that intersect with obstacles.
    • Calculates connections between neighboring nodes.
  3. Path Planning:
    • Uses Dijkstra's algorithm to compute the shortest path between the start and goal nodes.
  4. Visualization:
    • Supports both 2D and 3D visualizations of the graph, obstacles, and the planned path.

Installation

  1. Clone the repository.
    git clone https://github.com/FarkasBalintKaroly/RobotPathPlanner.git
    cd RobotPathPlanner
    
  2. Install the dependencies.
    pip install -r requirements.txt
    
  3. Run the program.
    python main.py
    

Configuration

Create a JSON configuration file with the following structure:

{
  "space_size": [1.0, 1.0, 1.0],
  "grid_resolution": 0.1,
  "obstacles": [
    {
      "start": [0.2, 0.2, 0.2],
      "end": [0.4, 0.4, 0.4]
    },
    {
      "start": [0.6, 0.6, 0.6],
      "end": [0.8, 0.8, 0.8]
    }
  ],
  "start_point": [0, 0, 0],
  "goal_point": [1, 1, 1]
}

Activity Diagram


Class Diagram


Future Enhancements

  1. Implement A* algorithm for more efficient pathfinding.
  2. Add support for dynamic obstacle handling.
  3. Integrate a graphical user interface (GUI).

About

A Python-alapú 3D útvonaltervező, amely egy robotkar számára tervezi meg az optimális útvonalat.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages