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

Check if setting the focus via the PCIC/RPC interface does not block SW till autofocus is finished or setting focus is finished #16

Open
Galoshi opened this issue Dec 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Galoshi
Copy link
Collaborator

Galoshi commented Dec 1, 2023

When setting the focus via the PCIC/RPC interface, we unfortunately realised that there is probably no way to block until the focus is actually achieved. If adjusting the focus and then starting image capture, the focus is adjusted in the captured images -> BLUR.

Check for "waitForConfigurationDone()" method in RPC and also calls this when the focus is adjusted; this only seems to wait for the software-side change and not the mechanical change.

Also check this issue for the PCIC interface.

Test this feature for setting autofocus and focus individually!

@Galoshi Galoshi added the bug Something isn't working label Dec 1, 2023
@Galoshi
Copy link
Collaborator Author

Galoshi commented Jan 16, 2024

This happens if you are setting rpc.application.FocusDistance within the running application.
There should be some lock mechanic inside the function.

@Galoshi
Copy link
Collaborator Author

Galoshi commented Feb 27, 2024

There is no block mechanic available. A lockup table (model) of the required time.sleep should be created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant