Coder Social home page Coder Social logo

dheerajb07 / campus-navigator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 1.58 MB

Implementation of various sampling-based motion planning methods to navigate WPI's campus using a 2D aerial map.

Python 100.00%
motion-planning probabilistic-road-map rapidly-exploring-random-tree

campus-navigator's Introduction

Campus Navigator

Overview

In this project, various sampling-based motion planning algorithms were implemented to navigate WPI's campus using a 2D aerial map.

First, a PRM algorithm with four different sampling methods - uniform, random, gaussian, and bridge sampling methods, was implemented to construct roadmaps. The resulting roadmaps and paths were visualized and the effect of different sampling methods on roadmap generation was analyzed.

In addition, RRT, RRT*, and Informed-RRT* algorithms were implemented on the same map. Each of the three paths obtained for a query was evaluated using path length as a metric. It was seen that Informed-RRT* produces more optimal paths than RRT or RRT*.

Code

  • PRM Implementation - code for PRM with different sampling methods
  • RRT Implementation - code for RRT, RRT* and Informed-RRT*

Run main.py in each folder. This script visualizes the path found along with the roadmap/tree. The RRT.py script has the code for the RRT, RRT*, and Informed-RRT* algorithms and the PRM.py contains the code for the PRM algorithm. The start and goal positions can be edited in main.py along with the sampling parameters.

The results folder contains screenshots of the paths obtained.

This project is a combination of homework completed for the RBE550-Motion Planning course at WPI. The doc folder contains the writeups for this homework.

Probabilistic Road Map (PRM)

Uniform Sampling: Path length - 263.53

Random Sampling: Path length - 279.38

Gaussian Sampling: Path length - 285.36

Bridge Sampling: Path length - 276.84

Rapidly-Exploring Random Trees (RRT)

RRT: Path length - 356.16

RRT*: Path length - 254.92

Informed-RRT*: Path length - 250.20

campus-navigator's People

Contributors

dheerajb07 avatar

Watchers

 avatar

Forkers

mohit2pal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.