Add a scan path planner that prioritises shorter moves

This commit is contained in:
jaknapper 2025-04-14 18:37:30 +01:00
parent be64d4c5e0
commit ec25ae7126
2 changed files with 152 additions and 1 deletions

View file

@ -127,7 +127,7 @@ def example_smart_spiral() -> tuple[FakeSample, scan_planners.ScanPlanner]:
img_size = (1000, 1000)
intial_position = (0, 0)
planner_settings = {"dx": 700, "dy": 700, "max_dist": 100000}
planner = scan_planners.SmartSpiral(
planner = scan_planners.ShortSmartSpiral(
intial_position=intial_position, planner_settings=planner_settings
)