Skip to content

ryan-wong157/Micromouse-Pathfinding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micromouse Maze-Solving Algroithm

This is my implementation of a maze exploring and shortest path solving algorithm for the mms micromouse simulator, written in C++. The algorithm is inspired by UNSW's MTRN3100 Robot Design course.

Written by Ryan Wong

Algorithm

The algorithm works in two phases:

Exploration

  • Performs an initial flood-fill, initializing distances of each cell relative to the goal position, assuming no walls.
  • Moves the mouse to the adjacent cell with the lowest distance, updating distances as new walls are detected.

Shortest Path

  • Once the goal is reached, performs another flood-fill with the start position as the target.
  • Follows the path from start to goal (or goal to start, reversed) to find the shortest route.

Prerequisites

You will need to install:

About

Implementation of an autonomous maze search algorithm for the mms simulator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published