rrt
RRT (Rapidly-exploring Random Tree) library in Rust
Using this crate
In your Cargo.tml, add below.
[]
= "0.5"
Examples
There are an example to solve collision avoid problem.
Below is the simplest example.
It search the path from [-1.2, 0.0] to [1.2, 0.0] avoiding [-1, -1] - [1, 1] region.
There are only one function dual_rrt_connect, which takes start, goal,
is free function, random generation function, unit length of extend, max repeat num.
use ;
let result = dual_rrt_connect
.unwrap;
println!;
assert!;