Improvements to the linear focus algorithm--v3
ClosedPublic

Authored by murveit on Jan 15 2020, 9:55 AM.

Details

Summary

Don't terminate the first-pass search if the samples are improving.
Simplify the start-position choice, and don't move quite as far out.
Don't skip samples if the HFR is <= 2.5
Don't use the polynomial min value as the value to search for, rather the min sample so far.

Test Plan

As before, use the simulator, see that it reaches focus starting from 50000, 60000 and 20000 with
Linear set as the focus algorithm, and step size 1500 and full field

Diff Detail

Repository
R321 KStars
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
murveit created this revision.Jan 15 2020, 9:55 AM
Restricted Application added a project: KDE Edu. · View Herald TranscriptJan 15 2020, 9:55 AM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
murveit requested review of this revision.Jan 15 2020, 9:55 AM
mutlaqja accepted this revision.Jan 15 2020, 1:05 PM
This revision is now accepted and ready to land.Jan 15 2020, 1:05 PM
This revision was automatically updated to reflect the committed changes.