RRT algorithm. More...
#include <rrt.h>
Public Member Functions | |
rrt (sampler_t &sampler_in, distance_evaluator_t &distance_evaluator_in, extender_t &extender_in, collision_checker_t &collision_checker_in, model_checker_t &model_checker_in) | |
A constructor that initializes all components. | |
int | iteration () |
A function call to initiate one iteration of the algorithm. |
RRT algorithm.
Provides an implementation of the RRT algorithm. Inherits from the generic incremental sampling-based motion planner, overriding the iteration function.
libbot_rrt_double_integrator.cpp, libbot_rrt_dubins_car.cpp, libbot_rrt_dubins_double_integrator_airplane.cpp, libbot_rrt_single_integrator.cpp, standalone_rrt_double_integrator.cpp, standalone_rrt_dubins_car.cpp, standalone_rrt_dubins_double_integrator_airplane.cpp, and standalone_rrt_single_integrator.cpp.
smp::rrt< typeparams >::rrt | ( | sampler_t & | sampler_in, |
distance_evaluator_t & | distance_evaluator_in, | ||
extender_t & | extender_in, | ||
collision_checker_t & | collision_checker_in, | ||
model_checker_t & | model_checker_in | ||
) |
A constructor that initializes all components.
This is the recommended constructor that initializes all components all at once. It calls the corresponding constructor of the base class planner_incremental<typeparams> with the same arguments.
sampler_in | New sampler component. |
distance_evaluator_in | New distance evaluator component. |
extender_in | New extension function component. |
collision_checker_in | New collision checker component. |
model_checker_in | New model checker component. |
int smp::rrt< typeparams >::iteration | ( | ) | [virtual] |
A function call to initiate one iteration of the algorithm.
Runs one iteration of the RRT algorithm which includes the following steps:
Implements smp::planner_incremental< typeparams >.