diff --git a/Sampling_based_Planning/rrt_2D/__pycache__/env.cpython-37.pyc b/Sampling_based_Planning/rrt_2D/__pycache__/env.cpython-37.pyc index 90e6001..6633af9 100644 Binary files a/Sampling_based_Planning/rrt_2D/__pycache__/env.cpython-37.pyc and b/Sampling_based_Planning/rrt_2D/__pycache__/env.cpython-37.pyc differ diff --git a/Sampling_based_Planning/rrt_2D/__pycache__/plotting.cpython-37.pyc b/Sampling_based_Planning/rrt_2D/__pycache__/plotting.cpython-37.pyc index 19e7cef..f03151c 100644 Binary files a/Sampling_based_Planning/rrt_2D/__pycache__/plotting.cpython-37.pyc and b/Sampling_based_Planning/rrt_2D/__pycache__/plotting.cpython-37.pyc differ diff --git a/Sampling_based_Planning/rrt_2D/__pycache__/rrt.cpython-37.pyc b/Sampling_based_Planning/rrt_2D/__pycache__/rrt.cpython-37.pyc index 4ab574a..d7edf5c 100644 Binary files a/Sampling_based_Planning/rrt_2D/__pycache__/rrt.cpython-37.pyc and b/Sampling_based_Planning/rrt_2D/__pycache__/rrt.cpython-37.pyc differ diff --git a/Sampling_based_Planning/rrt_2D/__pycache__/utils.cpython-37.pyc b/Sampling_based_Planning/rrt_2D/__pycache__/utils.cpython-37.pyc index 5e6e60b..6c3a233 100644 Binary files a/Sampling_based_Planning/rrt_2D/__pycache__/utils.cpython-37.pyc and b/Sampling_based_Planning/rrt_2D/__pycache__/utils.cpython-37.pyc differ diff --git a/Sampling_based_Planning/rrt_2D/rrt_connect.py b/Sampling_based_Planning/rrt_2D/rrt_connect.py index 24a8a99..ffeaee7 100644 --- a/Sampling_based_Planning/rrt_2D/rrt_connect.py +++ b/Sampling_based_Planning/rrt_2D/rrt_connect.py @@ -72,9 +72,9 @@ class RrtConnect: return self.extract_path(node_new, node_new_prim) if len(self.V2) < len(self.V1): - list_mid = copy.deepcopy(self.V1) - self.V1 = copy.deepcopy(self.V2) - self.V2 = copy.deepcopy(list_mid) + list_mid = self.V2 + self.V2 = self.V1 + self.V1 = list_mid return None