mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-14 03:28:10 -05:00
add
This commit is contained in:
@@ -60,10 +60,9 @@ class RRT():
|
||||
self.nodeList.append(newNode)
|
||||
self.rewire(newNode, nearinds)
|
||||
|
||||
if animation:
|
||||
if animation and i % 5 == 0:
|
||||
self.DrawGraph(rnd=rnd)
|
||||
if i % 5 == 0:
|
||||
matplotrecorder.save_frame() # save each frame
|
||||
matplotrecorder.save_frame() # save each frame
|
||||
|
||||
# generate coruse
|
||||
lastIndex = self.get_best_last_index()
|
||||
|
||||
Reference in New Issue
Block a user