Preserve route identity through reservation and export

This commit is contained in:
Jan Petykiewicz 2026-11-29 00:12:59 -08:00
commit 286caa273b

View file

@ -47,7 +47,7 @@ def _shift_positions(
available: int,
) -> list[int]:
positions = {i * available // 8 for i in range(9)}
for obstacle in problem.static_obstacles:
for obstacle in problem._blocking_polygons:
if obstacle.is_empty:
continue
low, high = sorted(sign * (y - origin) - radius for y in (obstacle.bounds[1], obstacle.bounds[3]))