DAQ: Fix issue with TELL not mounting when gripper is in park

This commit is contained in:
2025-07-15 09:57:16 +02:00
parent 58df388409
commit d9fcfc4140
+5
View File
@@ -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