From 6571a68f6473657fa57f11bc2ed3dc52765081e0 Mon Sep 17 00:00:00 2001 From: rachelmoan <moanrachel516@gmail.com> Date: Thu, 22 Aug 2024 16:44:46 -0500 Subject: [PATCH] commented out some code temporarily --- guided_mrmp/conflict_resolvers/curve_path.py | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/guided_mrmp/conflict_resolvers/curve_path.py b/guided_mrmp/conflict_resolvers/curve_path.py index 33fc54a..e425e71 100644 --- a/guided_mrmp/conflict_resolvers/curve_path.py +++ b/guided_mrmp/conflict_resolvers/curve_path.py @@ -148,19 +148,19 @@ if __name__ == "__main__": - solver = TrajOptMultiRobot(num_robots=num_robots, - robot_radius=rob_radius, - starts=robot_starts, - goals=robot_goals, - circle_obstacles=circle_obs, - rectangle_obstacles=rectangle_obs, - rob_dist_weight=dist_robots_weight, - obs_dist_weight=dist_obstacles_weight, - control_weight=control_costs_weight, - time_weight=time_weight - ) - sol,pos = solver.solve(N, initial_guess) - pos_vals = np.array(sol.value(pos)) + # solver = TrajOptMultiRobot(num_robots=num_robots, + # robot_radius=rob_radius, + # starts=robot_starts, + # goals=robot_goals, + # circle_obstacles=circle_obs, + # rectangle_obstacles=rectangle_obs, + # rob_dist_weight=dist_robots_weight, + # obs_dist_weight=dist_obstacles_weight, + # control_weight=control_costs_weight, + # time_weight=time_weight + # ) + # sol,pos = solver.solve(N, initial_guess) + # pos_vals = np.array(sol.value(pos)) - solver.plot_paths(pos_vals, initial_guess) + # solver.plot_paths(pos_vals, initial_guess) -- GitLab