Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug(laser af): only catch Exception, print exec_info, indicate failure for caller in autofocus method #75

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

ianohara
Copy link
Collaborator

This just adds in more debugging for the case when auto focus fails, and gives an explicit printout in our acquisition loop if autofocus fails (and makes it clear that we just continue anyway!).

This just adds debugging, and shouldn't affect actual behavior.

Also a few logic cleanups to quiet the ide linter.

Tested by: I ran this on a system with autofocus. To get autofocus to fail, I had it scan onto a plate edge where it wouldn't find the 2 laser autofocus dots and made sure that the scan continued (but that we got printouts).

@ianohara ianohara merged commit 10badcf into master Jan 21, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant