Introduce the linear focuser

Authored by murveit on Dec 22 2019, 5:09 AM.

Description

Introduce the linear focuser

Summary:
Linear focuser is a simple autofocus algorithm that always scans in,
sampling at regularly spaced intervals. It may be slower than the
other algoriths, but the hope is that by minimizing direction changes
backlash will be minimized and the algorithm may provide more stable
autofocus results. This change also introduces an interface that hides
the implmentation of the autofocus algorithm, and future changes may
moved the other existing algorithms into this framework.

Linear focuser mainly works well when started near the ultimate focus position.
It depends on the step-size, max-travel, and tolderance parameters, which should be
chosen well. It may take more iterations to find focus than the other algorithms.

Test Plan:
Like other autofocus algorithms, use the simulator and set the position and step-size such that
the best focus is within 5 or so steps from the current position. It should then find focus.

Reviewers: mutlaqja

Reviewed By: mutlaqja

Subscribers: yurchor, kde-edu

Tags: KDE Edu

Differential Revision: https://phabricator.kde.org/D26075

Details

Committed
mutlaqjaDec 22 2019, 5:24 AM
Reviewer
mutlaqja
Differential Revision
D26075: Introduce the linear focuser
Parents
R321:a8fcd66e5060: Fix offline cloud storage settings
Branches
Unknown
Tags
Unknown