Skip to content

kaiyyyy/MDP-Algorithm

Repository files navigation

MDP-Algorithm

Disclaimer - This repository was submitted as part of the CZ3004 - Multidisciplinary Project course at Nanyang Technological University and is no longer maintained.

This repository contains code to achieve autonomous exploration of a 2D maze using a robot. Following an exploration phase, the robot is capable of going from a predefined start zone to an end zone in the shortest possible path. The code uses a left wall hugging algorithm to explore the maze and uses the Djikstra's greedy algorithm to solve the shortest path problem. The repository contains two branches. The master branch can be used to run the algorithm in a live set up. The simulator branch can be used to run the simulation.

Screenshots

A sample maze

Initial Phase

Robot Reached the Goal Zone

Exploration Completed

Shortest Path

Setup

  1. Download the Eclipse IDE
  2. Import this project into Eclipse.

Running the Code

To run the simulation, run the AlgoSimulator.java file. To run on a real robot, run the Main.java file.

Contributors

  1. kaiyyyy
  2. luyaman

About

Assignment for CZ3004 - Multidisciplinary Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages