From 2f60e723a22f85af515e8670edfb414cddc61f37 Mon Sep 17 00:00:00 2001 From: Atsushi Sakai Date: Tue, 20 Nov 2018 20:32:15 +0900 Subject: [PATCH] fix test --- .../DynamicWindowApproach/dynamic_window_approach.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/PathPlanning/DynamicWindowApproach/dynamic_window_approach.py b/PathPlanning/DynamicWindowApproach/dynamic_window_approach.py index aab5f152..b7f3df34 100644 --- a/PathPlanning/DynamicWindowApproach/dynamic_window_approach.py +++ b/PathPlanning/DynamicWindowApproach/dynamic_window_approach.py @@ -12,7 +12,6 @@ import matplotlib.pyplot as plt import sys sys.path.append("../../") -from matplotrecorder import matplotrecorder show_animation = True @@ -207,7 +206,6 @@ def main(): plt.axis("equal") plt.grid(True) plt.pause(0.0001) - matplotrecorder.save_frame() # check goal if math.sqrt((x[0] - goal[0])**2 + (x[1] - goal[1])**2) <= config.robot_radius: @@ -219,10 +217,6 @@ def main(): plt.plot(traj[:, 0], traj[:, 1], "-r") plt.pause(0.0001) - for i in range(10): - matplotrecorder.save_frame() - matplotrecorder.save_movie("animation.gif", 0.1) - plt.show()