Update position property during and after jog

This commit is contained in:
Richard Bowman 2026-02-11 00:11:03 +00:00 committed by Julian Stirling
parent 04e7fa30bd
commit 4d445396b2

View file

@ -397,6 +397,8 @@ class SangaboardThing(BaseStage):
duration = 0.1 # Next iteration, we will probably time out.
else:
raise RuntimeError(f"Unknown jog command: {command}")
self._update_position()
if previous_command:
# Notify the last command that it finished, because we stopped moving.
previous_command.finished.set()
self._update_position()