Skip to content
/ rtt Public

Rapidly-Exploring random trees path planning algorithm library for Rust.

License

Notifications You must be signed in to change notification settings

swizard0/rtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rapidly-Exploring random trees path planning algorithm

Overview

Randomized data structure that is designed for a broad class of path planning problems.

Visualizer: rtt-demo

rtt visualizer

Theory:

Library

rtt is a Rust crate with a very abstract algorithm implementation. The library itself provides only a protocol to follow. Everything outside of raw algorithm (sampling, memory management, nearest node search etc) is left to library user.

Several useful data structures and helpers are available in rtt::util module for your convenience, such as:

Example usage

Try the example yourself:

% cargo run --example rect_maze

Maze of 15 rows and 24 cols, start: (1, 3), finish: (8, 2)
Path planned in 2707 iterations:
###############
#  ++  #  ++++##########
#   +  #  +  +++++     #
#   +  #  +   ###+ #####
#   +++#  +   #  +     #
#     +++++   #  +     #
#      #      #  +     #
###############  +     #
#++    #     +++++     #
#+     #   +++##########
#+++   #   +  #
#  +   #++++  #
#  +   #+     #
#  ++++++     #
###############

Authors

  • Alexey Voznyuk - Initial work - swizard0

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Rapidly-Exploring random trees path planning algorithm library for Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages