|
@@ -102,11 +102,11 @@ def main():
|
|
|
x_start = (2, 2) # Starting node
|
|
x_start = (2, 2) # Starting node
|
|
|
x_goal = (49, 24) # Goal node
|
|
x_goal = (49, 24) # Goal node
|
|
|
|
|
|
|
|
- rrt = Rrt(x_start, x_goal, 0.5, 0.03, 5000)
|
|
|
|
|
|
|
+ rrt = Rrt(x_start, x_goal, 0.5, 0.00, 10000)
|
|
|
path = rrt.planning()
|
|
path = rrt.planning()
|
|
|
|
|
|
|
|
if path:
|
|
if path:
|
|
|
- rrt.plotting.animation(rrt.vertex, path, "Goal-bias RRT", True)
|
|
|
|
|
|
|
+ rrt.plotting.animation(rrt.vertex, path, "RRT", True)
|
|
|
else:
|
|
else:
|
|
|
print("No Path Found!")
|
|
print("No Path Found!")
|
|
|
|
|
|