Skip to content

Restore the stage after a stage scan only from what the run read - #560

Merged
bls337 merged 2 commits into
micro-manager:mainfrom
bls337:main
Oct 27, 2026
Merged

bls337 merged 2 commits into
micro-manager:mainfrom
bls337:main

Conversation

@bls337

@bls337 bls337 commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator
  • The stage's start position, speed and acceleration are kept in a StageScanState that stays null until a stage scan reads them, and finish() restores the stage only when it is set.
  • A run refused before it reads the stage no longer writes a placeholder speed and acceleration to it, and a failed speed or acceleration read now refuses the run.
  • PLogicScape calls StageScanUtils.computeScanSpeed directly, and its one-line computeScanSpeed wrapper is removed.

@bls337
bls337 merged commit 9333455 into micro-manager:main Oct 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant