From d9fcfc414004c8eb50cddaf6cd6b474c24e477bd Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Mon, 14 Jul 2025 10:15:35 +0200 Subject: [PATCH] DAQ: Fix issue with TELL not mounting when gripper is in park --- daq/src/aaredaq/daq.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daq/src/aaredaq/daq.py b/daq/src/aaredaq/daq.py index a997ecfe..1e47be18 100644 --- a/daq/src/aaredaq/daq.py +++ b/daq/src/aaredaq/daq.py @@ -213,6 +213,11 @@ class AareDAQ: raise Exception("Beamstop Z below 24.0 mm - potentially unsafe with mounting") if self.__devs.magnet_position_sensor.value != 0: raise Exception("Magnet position sensor is not in position") + + if self.__devs.tell.is_in_park(): + self.__devs.tell.move_cold(wait=True) + time.sleep(30) + # self.__devs.tell.check_enable_motion() self.__devs.tell.set_in_mount_position(True) curr_sample = self.__cfg.current_sample