atb033 / multi_agent_path_planning

Python implementation of a bunch of multi-robot path-planning algorithms.
https://atb033.github.io/multi_agent_path_planning/
MIT License
1.04k stars 256 forks source link

Why is a preexisting output.yaml required? #12

Closed snoyes closed 1 year ago

snoyes commented 1 year ago

https://github.com/atb033/multi_agent_path_planning/blob/9b273bbf9187e647a5e1e131ecb36d201cdd4c30/centralized/cbs/cbs.py#L337-L342

This code requires that a valid output yaml file already exists. I think it ought to gracefully handle the case that no such file exists.

atb033 commented 1 year ago

Thanks for the suggestion. I do agree that it should exit gracefully. Would you like to open a PR for this?