update RRT_2D

This commit is contained in:
zhm-real
2020-06-25 12:14:28 -07:00
parent 95efabd017
commit 6796e5ea68
11 changed files with 72 additions and 33 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ class Plotting:
self.obs_circle = self.env.obs_circle
self.obs_rectangle = self.env.obs_rectangle
def animation(self, nodelist, path, animation=False):
self.plot_grid("RRT")
def animation(self, nodelist, path, name, animation=False):
self.plot_grid(name)
self.plot_visited(nodelist, animation)
self.plot_path(path)