Skip to content

MARIO-SNH/UGV-Pathfinding-Navigation-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Here’s a polished README you can directly paste into your README.md.

UGV Pathfinding & Dynamic Navigation Simulator

Interactive AI search and autonomous navigation simulator built using Python and Streamlit.

This project demonstrates shortest-path planning, obstacle avoidance, and dynamic path replanning using Dijkstra’s Algorithm in multiple navigation environments.


Features

Indian Cities Shortest Path

  • Computes shortest path between Indian cities
  • Uses weighted graph representation
  • Displays optimal route and total distance

Static Obstacle Navigation

  • Simulates UGV movement in a 70x70 grid
  • Random obstacle generation
  • Finds shortest collision-free path
  • Displays runtime and explored nodes

Dynamic Obstacle Replanning

  • Introduces obstacles during navigation
  • Recalculates optimal route dynamically
  • Compares original vs replanned paths
  • Includes runtime and path-length analytics

Technologies Used

  • Python
  • Streamlit
  • NumPy
  • Matplotlib
  • Heap-based Priority Queue
  • Dijkstra’s Algorithm

Algorithms Implemented

Dijkstra’s Algorithm (Uniform Cost Search)

Used for:

  • shortest path computation
  • grid navigation
  • dynamic replanning

Dynamic Replanning

When new obstacles appear:

  1. current path becomes invalid
  2. search space updates
  3. shortest path recalculated in real time

Dashboard Screenshots

Indian Cities Shortest Path

Indian Cities


Static Obstacle Navigation

Static Obstacles


Dynamic Obstacle Replanning

Dynamic Replanning


Dashboard Overview

Dashboard Overview


Project Structure

UGV-Pathfinding-Navigation-Simulator/
│
├── data/
├── results/
├── src/
├── screenshots/
│
├── ugv_visualizer.py
├── README.md
└── requirements.txt

How to Run

Clone Repository

git clone https://github.com/MARIO-SNH/UGV-Pathfinding-Navigation-Simulator.git

Navigate to Project Folder

cd UGV-Pathfinding-Navigation-Simulator

Create Virtual Environment

python -m venv venv

Activate Environment

Windows

.\venv\Scripts\Activate.ps1

Install Dependencies

pip install -r requirements.txt

Run Streamlit Dashboard

streamlit run ugv_visualizer.py

Performance Metrics

The simulator evaluates:

  • Path Length
  • Runtime
  • Explored Nodes
  • Success Rate

Applications

  • Autonomous Vehicles
  • Robotics Navigation
  • AI Search Algorithms
  • Dynamic Route Planning
  • Pathfinding Systems

Author

Namratha Hannah

About

Interactive UGV navigation and dynamic path replanning simulator using Dijkstra’s Algorithm and Streamlit.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages