DAQ: Fix issue with TELL not mounting when gripper is in park
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user