Skip to content

ch1rath/Robot-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Maze Mapping and Navigation Robot

Simulation

Robot.Simulation.mp4

Project Description

SLRC is a major Robotics competition organized by the Electronic Club of the University of Moratuwa. This project is for the competition's 1st stage. Which was to navigate a maze given at the competition time, which the competitor has no prior knowledge of, and to pick the boxes located in the 3 corners of the maze and bring them to the centre. Figure 1 shows the sample maze given by the competition organizers.

Maze Figure 1

Outcomes

  1. Explore the unknown maze and make a fully detailed map with the wall locations, orientations and free cells.
  2. Calculate the shortest path from any cell to any other reachable cell.
  3. Navigate automatically from one cell to any other cell according to the calculated shortest path.

Methodology

  • A maze is given in the Maze.map file
  • The algorithm uses Depth First Search (DFS) to explore any given maze and make a detailed map of it.
  • Breadth First Search (BFS) is used to calculate the shortest path from any cell to any other cell.
  • Automatically navigate according to the calculated shortest path

Technology

  • C++ is used as the primary programming language
  • Various Data Structures and Algorithms knowledge is used to design the final algorithm
  • Micromouse simulator is used as the simulation platform

Explanation

  • Above Video 1 shows a sample run of the simulation.
  • The robot first explores the maze and makes a map of it then returns to the starting position.
  • The shortest path to the Cell 6 0 is calculated.
    ( Cells are named according to the (Column Number, Row Number) )
  • The Robot navigates to that cell according to the shortest path.
  • This is similar to picking up a box at the corner of the maze as given by the competition problem description.
  • Then the shortest path is calculated from that cell to the centre cell which is Cell 2 4.
  • The robot navigates to the centre cell.
  • This is similar to bringing the box to the centre cell as given by the competition problem description.

Extra

Shortest.Path.0.6.mp4
Shortest.Path.6.6.mp4

About

Automatic Maze mapping ang Navigation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages