Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 903 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 903 Bytes

Example

This example uses a planar world with geometric obstacles built with the Geo crate. The library will attempt to find a path using RRT and plot the result using Plotly.

To run regular RRT and return as soon as a path is found:

cargo run --example world_example -- 1.0 1.0 99.0 99.0 false false

alt text

To run RRT*,

cargo run --example world_example -- 1.0 1.0 99.0 99.0 true false

alt text

To run RRT-Connect:

cargo run --example world_example -- 1.0 1.0 99.0 99.0 false true

alt text

Or you can optionally specify a timeout to continue sampling to converge towards the optimal path,

cargo run --example world_example -- 1.0 1.0 99.0 99.0 true false 10.0

alt text