diff --git a/scripts/PathPlanning/RRTStarCar_reeds_sheep/animation.gif b/scripts/PathPlanning/RRTStarCar_reeds_sheep/animation.gif new file mode 100644 index 00000000..e7156d72 Binary files /dev/null and b/scripts/PathPlanning/RRTStarCar_reeds_sheep/animation.gif differ diff --git a/scripts/PathPlanning/RRTStarCar_reeds_sheep/rrt_star_car.py b/scripts/PathPlanning/RRTStarCar_reeds_sheep/rrt_star_car.py index 1e5ab8f2..1ec0a89a 100644 --- a/scripts/PathPlanning/RRTStarCar_reeds_sheep/rrt_star_car.py +++ b/scripts/PathPlanning/RRTStarCar_reeds_sheep/rrt_star_car.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- """ -@brief: Path Planning Sample Code with RRT for car like robot. +@brief: Path Planning Sample Code with RRT* for car like robot with reeds shepp curve. @author: AtsushiSakai(@Atsushi_twi) @@ -22,7 +22,7 @@ class RRT(): """ def __init__(self, start, goal, obstacleList, randArea, - goalSampleRate=10, maxIter=2000): + goalSampleRate=10, maxIter=1000): u""" Setting Parameter @@ -293,7 +293,7 @@ if __name__ == '__main__': goal = [5.5, 10.0, math.radians(0.0)] rrt = RRT(start, goal, randArea=[-2.0, 15.0], obstacleList=obstacleList) - path = rrt.Planning(animation=False) + path = rrt.Planning(animation=True) # Draw final path rrt.DrawGraph()