Skip to content

Commit 2f60e72

Browse files
committed
fix test
1 parent c3ff866 commit 2f60e72

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

PathPlanning/DynamicWindowApproach/dynamic_window_approach.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
import sys
1414
sys.path.append("../../")
15-
from matplotrecorder import matplotrecorder
1615

1716

1817
show_animation = True
@@ -207,7 +206,6 @@ def main():
207206
plt.axis("equal")
208207
plt.grid(True)
209208
plt.pause(0.0001)
210-
matplotrecorder.save_frame()
211209

212210
# check goal
213211
if math.sqrt((x[0] - goal[0])**2 + (x[1] - goal[1])**2) <= config.robot_radius:
@@ -219,10 +217,6 @@ def main():
219217
plt.plot(traj[:, 0], traj[:, 1], "-r")
220218
plt.pause(0.0001)
221219

222-
for i in range(10):
223-
matplotrecorder.save_frame()
224-
matplotrecorder.save_movie("animation.gif", 0.1)
225-
226220
plt.show()
227221

228222

0 commit comments

Comments
 (0)