Skip to content

Commit

Permalink
cleaning up
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Henkel <[email protected]>
  • Loading branch information
ct2034 committed Nov 4, 2024
1 parent db93cd5 commit b231aae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion planner/cbs-ta_vs_tcbs/evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,17 @@ def tcbs_with_single_goals(grid, starts, goals):
config["filename_pathsave"] = fname
config["time_extended"] = False
config["save_stats"] = True
return tcbs_plan(
res = tcbs_plan(
agent_pos=[tuple(s) for s in starts],
jobs=jobs,
allocated_jobs=[],
idle_goals=[],
grid=_map,
config=config,
)
if os.path.exists(fname):
os.remove(fname)
return res


def execute_both_planners(grid, starts, goals, timeout):
Expand Down

0 comments on commit b231aae

Please sign in to comment.