DAQ: moved wait_ready() earlier to see if this resolves a robot timing issue with the gripper. The different wait comamnds ahve simialr logic but seem to break. Needs exploring in the new year.
This commit is contained in:
1 parent
92428ff2fa
commit
300e719167
1 file changed
+3
-3
@@ -390,14 +390,14 @@ class AareDAQ:
|
||||
#Reenable TELL after doors locked
|
||||
logger.info("enable tell motion after doors locked")
|
||||
self.__devs.tell.check_enable_motion()
|
||||
|
||||
logger.info("Waiting for tell to be ready")
|
||||
self.__devs.tell.wait_ready()
|
||||
self.__devs.tell.wait_mount_complete()
|
||||
|
||||
logger.debug("Moving tell to mount position")
|
||||
self.__devs.tell.set_in_mount_position(True)
|
||||
curr_sample = self.__cfg.current_sample
|
||||
logger.info("Waiting for tell to be ready")
|
||||
self.__devs.tell.wait_ready()
|
||||
|
||||
if curr_sample is not None and curr_sample.location is None:
|
||||
logger.info(f"Unmounting current sample")
|
||||
# TODO: Smarter way to know manual sample has be removed from goniometer
|
||||
|
||||
Reference in new issue
Block a user