Rapidly-Exploring Random Trees (RRT)
Basic RRT
This is a simple path planning code with Rapidly-Exploring Random Trees
(RRT)
Black circles are obstacles, green line is a searched tree, red crosses
are start and goal positions.
Code Link
-
class PathPlanning.RRT.rrt.RRT(start, goal, obstacle_list, rand_area, expand_dis=3.0, path_resolution=0.5, goal_sample_rate=5, max_iter=500, play_area=None, robot_radius=0.0)[source]
Class for RRT planning
RRT*
This is a path planning code with RRT*
Black circles are obstacles, green line is a searched tree, red crosses are start and goal positions.
Code Link
-
class PathPlanning.RRTStar.rrt_star.RRTStar(start, goal, obstacle_list, rand_area, expand_dis=30.0, path_resolution=1.0, goal_sample_rate=20, max_iter=300, connect_circle_dist=50.0, search_until_max_iter=False, robot_radius=0.0)[source]
Class for RRT Star planning
Simulation
RRT with dubins path
Path planning for a car robot with RRT and dubins path planner.
Code Link
-
class PathPlanning.RRTDubins.rrt_dubins.RRTDubins(start, goal, obstacle_list, rand_area, goal_sample_rate=10, max_iter=200, robot_radius=0.0)[source]
Class for RRT planning with Dubins path
RRT* with dubins path
Path planning for a car robot with RRT* and dubins path planner.
Code Link
-
class PathPlanning.RRTStarDubins.rrt_star_dubins.RRTStarDubins(start, goal, obstacle_list, rand_area, goal_sample_rate=10, max_iter=200, connect_circle_dist=50.0, robot_radius=0.0)[source]
Class for RRT star planning with Dubins path
RRT* with reeds-sheep path
Path planning for a car robot with RRT* and reeds sheep path planner.
Code Link
-
class PathPlanning.RRTStarReedsShepp.rrt_star_reeds_shepp.RRTStarReedsShepp(start, goal, obstacle_list, rand_area, max_iter=200, step_size=0.2, connect_circle_dist=50.0, robot_radius=0.0)[source]
Class for RRT star planning with Reeds Shepp path
Closed Loop RRT*
A vehicle model based path planning with closed loop RRT*.
In this code, pure-pursuit algorithm is used for steering control,
PID is used for speed control.
Code Link
-
class PathPlanning.ClosedLoopRRTStar.closed_loop_rrt_star_car.ClosedLoopRRTStar(start, goal, obstacle_list, rand_area, max_iter=200, connect_circle_dist=50.0, robot_radius=0.0)[source]
Class for Closed loop RRT star planning
LQR-RRT*
This is a path planning simulation with LQR-RRT*.
A double integrator motion model is used for LQR local planner.
Code Link
-
class PathPlanning.LQRRRTStar.lqr_rrt_star.LQRRRTStar(start, goal, obstacle_list, rand_area, goal_sample_rate=10, max_iter=200, connect_circle_dist=50.0, step_size=0.2, robot_radius=0.0)[source]
Class for RRT star planning with LQR planning