diff --git a/flatland/envs/grid4_generators_utils.py b/flatland/envs/grid4_generators_utils.py index a5af287e6b13d76b421c41639cafa46327dfa70d..4a1acad88fc082d3a7d3f773eed1d642f845cb0f 100644 --- a/flatland/envs/grid4_generators_utils.py +++ b/flatland/envs/grid4_generators_utils.py @@ -136,7 +136,8 @@ def connect_straigt_line(rail_trans, grid_map, start, end, openend=False): def quick_path(grid_map, start, end, forbidden_cells=[], openend=False): """ - + Quick path connecting algorithm with simple heuristic to allways follow largest value of vector towards target. + When obstacle is encountereed second direction of vector is chosen. """ # Helper function to make legal steps (height, width) = np.shape(grid_map.grid)