NSLS-II / lsdc

LSDC - Life Sciences Data Collection
https://nsls-ii.github.io/lsdc
BSD 3-Clause "New" or "Revised" License
3 stars 14 forks source link

Retry mount during auto collection #363

Closed vshekar closed 6 months ago

vshekar commented 6 months ago

Sometimes during auto collection, the dewar does not rotate to the correct position. This causes the robot arm to not pick up the sample. Robot software not controlled by LSDC throws an exception with a message "Fail to calculate Pin Position".

This PR catches that exception, tries to move the dewar to the correct position and retry mount again