rtt 0.3.3

Rapidly-Exploring random trees path planning algorithm.
Documentation

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. 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:
###############
#  ++  #  ++++##########
#   +  #  +  +++++     #
#   +  #  +   ###+ #####
#   +++#  +   #  +     #
#     +++++   #  +     #
#      #      #  +     #
###############  +     #
#++    #     +++++     #
#+     #   +++##########
#+++   #   +  #
#  +   #++++  #
#  +   #+     #
#  ++++++     #
###############