From ddaa0061453099eb68bac40a6a9ec19d94987260 Mon Sep 17 00:00:00 2001 From: Zhengyu Peng Date: Fri, 10 Dec 2021 22:52:04 -0500 Subject: [PATCH] merge --- software/rpi/path_generator.py | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/software/rpi/path_generator.py b/software/rpi/path_generator.py index 0fbaea8..c665eca 100644 --- a/software/rpi/path_generator.py +++ b/software/rpi/path_generator.py @@ -90,13 +90,8 @@ def gen_fastbackward_path(standby_coordinate, def gen_leftturn_path(standby_coordinate, -<<<<<<< HEAD g_steps = 20, g_radius = 25): -======= - g_steps=20, - g_radius=25): ->>>>>>> 17d87ef422229801dda42aa0696f121b8358aeda assert (g_steps % 4) == 0 halfsteps = int(g_steps/2) @@ -116,13 +111,8 @@ def gen_leftturn_path(standby_coordinate, def gen_rightturn_path(standby_coordinate, -<<<<<<< HEAD g_steps = 20, g_radius = 25): -======= - g_steps=20, - g_radius=25): ->>>>>>> 17d87ef422229801dda42aa0696f121b8358aeda assert (g_steps % 4) == 0 halfsteps = int(g_steps/2) @@ -141,13 +131,8 @@ def gen_rightturn_path(standby_coordinate, def gen_shiftleft_path(standby_coordinate, -<<<<<<< HEAD g_steps = 20, g_radius = 25): -======= - g_steps=20, - g_radius=25): ->>>>>>> 17d87ef422229801dda42aa0696f121b8358aeda assert (g_steps % 4) == 0 halfsteps = int(g_steps/2) @@ -164,13 +149,8 @@ def gen_shiftleft_path(standby_coordinate, def gen_shiftright_path(standby_coordinate, -<<<<<<< HEAD g_steps = 20, g_radius = 25): -======= - g_steps=20, - g_radius=25): ->>>>>>> 17d87ef422229801dda42aa0696f121b8358aeda assert (g_steps % 4) == 0 halfsteps = int(g_steps/2) @@ -183,7 +163,6 @@ def gen_shiftright_path(standby_coordinate, path[:,[0,2,4],:] = np.tile(semi_circle[:, np.newaxis, :], (1, 3, 1)) path[:,[1,3,5],:] = np.tile(mir_path[:, np.newaxis, :], (1, 3, 1)) -<<<<<<< HEAD return path+np.tile(standby_coordinate, (g_steps, 1, 1)) @@ -193,14 +172,6 @@ def gen_climb_path(standby_coordinate, z_radius = 80, x_radius = 30, z_shift = -30): -======= -def gen_climb_path(standby_coordinate, - g_steps=20, - y_radius=20, - z_radius=80, - x_radius=30, - z_shift=-30): ->>>>>>> 17d87ef422229801dda42aa0696f121b8358aeda assert (g_steps % 4) == 0 halfsteps = int(g_steps/2)