Update position property during and after jog
This commit is contained in:
parent
04e7fa30bd
commit
4d445396b2
1 changed files with 2 additions and 0 deletions
|
|
@ -397,6 +397,8 @@ class SangaboardThing(BaseStage):
|
||||||
duration = 0.1 # Next iteration, we will probably time out.
|
duration = 0.1 # Next iteration, we will probably time out.
|
||||||
else:
|
else:
|
||||||
raise RuntimeError(f"Unknown jog command: {command}")
|
raise RuntimeError(f"Unknown jog command: {command}")
|
||||||
|
self._update_position()
|
||||||
if previous_command:
|
if previous_command:
|
||||||
# Notify the last command that it finished, because we stopped moving.
|
# Notify the last command that it finished, because we stopped moving.
|
||||||
previous_command.finished.set()
|
previous_command.finished.set()
|
||||||
|
self._update_position()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue