improve visibility checker and add refiner

This commit is contained in:
Jan Petykiewicz 2026-03-29 15:03:15 -07:00
commit 6a28dcf312
11 changed files with 440 additions and 3 deletions

View file

@ -16,7 +16,7 @@ def main() -> None:
danger_map = DangerMap(bounds=bounds)
danger_map.precompute([])
evaluator = CostEvaluator(engine, danger_map)
evaluator = CostEvaluator(engine, danger_map, bend_penalty=250.0, sbend_penalty=500.0)
context = AStarContext(evaluator, bend_radii=[10.0])
metrics = AStarMetrics()
pf = PathFinder(context, metrics)