Learn R Programming

mathart (version 0.0.0.9000)

rapidly_exploring_random_tree: Rapidly-exploring random tree

Description

Generates data for plotting a rapidly exploring random tree (rrt). Refer to the Wikipedia article for details.

Usage

rapidly_exploring_random_tree(n = 10000, X = 1000, delta = 2.5)

Arguments

n

Number of points to generate

X

Square canvas dimension

delta

Maximum edge length

Examples

Run this code
# NOT RUN {
rapidly_exploring_random_tree()
# }

Run the code above in your browser using DataLab