Skip to content

rland93/rrtplanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a9c49ab · Feb 28, 2025

History

95 Commits
Feb 4, 2022
Feb 13, 2022
Feb 22, 2025
Feb 3, 2022
Oct 8, 2021
Apr 28, 2023
Dec 31, 2021
Feb 3, 2022
Feb 3, 2022
Feb 4, 2022

Repository files navigation

RRT Path planning with Python!

Screenshot of RRTstar path

This repository contains my planning algorithm research code. It has modules for creating random or dynamic occupancy grids on which to generate plans, utilities for plotting and animating plans, and implementations of the RRT, RRT*, and RRT-Informed planners.

Features

Utility Modules:

  • Random World Generation with Perlin Noise
  • Animation Module
  • Dubins Primitive Module

Planning Modules:

  • RRT Planner
  • RRT(star) Planner
  • RRT(informed) Planner
  • Dubins Vehicle RRT Planner
  • Dubins Vehicle RRT(star) Planner

Path Following Modules:

  • Straight Line Vector-Field Path-Follower
  • Decomposition of multi-waypoint plan for vector-field follower using voronoi regions

All algorithms are written in Python. I've tried to accelerate some things with Numba; so, your platform needs to be compatible with numba. But for the most part, it's standard python, and as such, is extremely slow.

This is research code, so it's not at all a robust package to use for a real planner. Let me know how you are using it!

Dependency Notes

It relies on Numba to accelerate some collision logic:

https://numba.readthedocs.io/en/stable/user/installing.html

pyfastnoisesimd relies on SIMD instructions available only on modern processors to speed up perlin noise generation for random occupancyGrids. I'm not sure how it degrades if those instructions are not available. See https://pyfastnoisesimd.readthedocs.io/en/latest/overview.html.

Information:

RRT:

Planners:

Path Followers: