Skip to content

About

Moving Robot is a simulation project developed in Python, designed to control a virtual robot navigating a map loaded from a text file while avoiding collisions with obstacles placed throughout the environment.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

🤖 Moving Robot

Moving Robot is a simulation project developed in Python, designed to control a virtual robot navigating a map loaded from a text file while avoiding collisions with obstacles placed throughout the environment.
The simulation emphasizes interactive control, map validation, and real-time feedback to visualize the robot’s movement and spatial awareness.


🎮 How to Use

  • Load a map from a .txt file to initialize the simulation.
  • Use the W, A, S, D keys to manually control the robot’s movement.
  • Navigate through the environment while avoiding obstacles.
  • Observe real-time feedback of the robot’s position and movements in the console.
  • The system automatically verifies the map structure before starting the simulation.

✨ Features

  • 🧭 Main Menu: Offers multiple simulation options, including viewing the optimal solution path.
  • 🗺️ Map Validation: Automatically checks the map’s structure and data integrity.
  • 🔢 Obstacle Detection: Counts and locates all detected obstacles on the map.
  • 🧱 Map Visualization: Displays an encoded view of the map showing obstacle positions.
  • 🧩 Solution Display: Visualizes the correct or optimal path the robot should follow to complete the map.
  • 🎮 Manual Control: Move the robot using W, A, S, D keys for real-time navigation.

⚙️ Technologies Used

  • 🐍 Python 3
  • 📄 File Parsing – for loading and validating text-based maps
  • ⌨️ Keyboard Event Handling – for real-time user control
  • 🧠 Algorithmic Logic – to handle collision detection, pathfinding, and solution visualization

About

Moving Robot is a simulation project developed in Python, designed to control a virtual robot navigating a map loaded from a text file while avoiding collisions with obstacles placed throughout the environment.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages