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.