-
Notifications
You must be signed in to change notification settings - Fork 47
Description
It seems that when doing just contrast AutoFocus (no focus-map) the z position does not get updated. Both in the former MultiPointWorker and the current multi_point_worker acquire_at_position function, autofus does run e.g. here and acquisition happens at the correct z (if focus range was sufficient to find the actual focus) but then it seems that this new z position is never saved. Is that correct or can you point me to where this update happens?
On our system at least this is what happens in practice: instead of starting from the previous in-focus position the search always starts from the original z position. This is inefficient and also can lead to out-of-focus if the z-drift is too large and the focus gets out of the search range. I managed to fix this by actually updating the z position but I'm wondering if this is an intended behavior?