fix(omny): increase laser tracker on-target wait timeout, add status print
CI for csaxs_bec / test (push) Failing after 7m30s
CI for csaxs_bec / test (push) Failing after 7m30s
Bump max_repeat from 25 to 100 (~12.5s to ~50s) in laser_tracker_wait_on_target, since the tracker was timing out too early during beamtime. Print a status message once the retry-enable branch kicks in so it's visible the wait is still in progress. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XdHenMmwbrCz1juWMi1yZc
This commit is contained in:
@@ -375,7 +375,7 @@ class RtFlomniController(Controller):
|
||||
return False
|
||||
|
||||
def laser_tracker_wait_on_target(self):
|
||||
max_repeat = 25
|
||||
max_repeat = 100
|
||||
count = 0
|
||||
self.laser_tracker_galil_enable()
|
||||
while not self.laser_tracker_on_target():
|
||||
@@ -383,6 +383,7 @@ class RtFlomniController(Controller):
|
||||
time.sleep(0.5)
|
||||
count += 1
|
||||
if count == 10:
|
||||
print("Waiting for the tracker.")
|
||||
ftrackz_con = self.device_manager.devices.ftrackz.obj.controller
|
||||
ftrackz_con.socket_put_confirmed("tracken=1")
|
||||
ftrackz_con.socket_put_confirmed("trackyct=0")
|
||||
|
||||
Reference in New Issue
Block a user