Use backlash compensation in smart scan and autofocus

This commit is contained in:
Julian Stirling 2026-02-24 17:45:21 +00:00
parent c12814f0eb
commit 0527990282
4 changed files with 21 additions and 13 deletions

View file

@ -37,7 +37,7 @@ from openflexure_microscope_server.utilities import coerce_thing_selector
# Things
from .camera import BaseCamera
from .scan_workflows import ScanWorkflow
from .stage import BaseStage
from .stage import BacklashCompensation, BaseStage
T = TypeVar("T")
P = ParamSpec("P")
@ -311,6 +311,7 @@ class SmartScanThing(lt.Thing):
x=next_point[0],
y=next_point[1],
z=z_estimate,
backlash_compensation=BacklashCompensation.XY_ONLY,
)
return (next_point[0], next_point[1], z_estimate)