Skip to content
Snippets Groups Projects
Commit 6571a68f authored by rachelmoan's avatar rachelmoan
Browse files

commented out some code temporarily

parent 91a2b022
No related branches found
No related tags found
No related merge requests found
......@@ -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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment