set fixed on the script

This commit is contained in:
x01dc
2025-12-16 16:20:57 +01:00
committed by wyzula-jan
parent 055542c216
commit 625651247c

View File

@@ -159,7 +159,8 @@ class XrayEyeAlign:
print(f"Current rtx position {rtx_position}")
self.alignment_values[k] -= rtx_position
print(f"Corrected position {k}: x {self.alignment_values[k]}")
# reset submit channel
dev.omny_xray_gui.submit.set(0)
if k == 0: # received center value of FZP
self.send_message("please wait ...")
self.movement_buttons_enabled(False, False)
@@ -204,8 +205,7 @@ class XrayEyeAlign:
k += 1
dev.omny_xray_gui.step.set(k)
# reset submit channel
dev.omny_xray_gui.submit.set(0)
_xrayeyalignmvx = dev.omny_xray_gui.mvx.get()
if _xrayeyalignmvx != 0:
umvr(dev.rtx, _xrayeyalignmvx)