Linear Focus Algorithm 3.1, ignore timer-based focuser's return value.
ClosedPublic

Authored by murveit on Jan 22 2020, 8:47 PM.

Details

Summary

The return value seems unreliable, and, afterall probably doesn't represent reality.
Ths change causes the linear focus algorithm to assume that timer-based focusers
have moved the number of ms requested for their movement.

Test Plan

There should be no changes to standard focus algorithms.
The only change would be with timer-based focusers (e.g. FCUSB) using the Linear Algorithm.
This didn't work previously (as I relied on the return value from the Indi, which is apparently unreliable).
That focuser should now autofocus with the linear focus algorithm, now changed to v3.1 in the menu.

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 22 2020, 8:47 PM
Restricted Application added a project: KDE Edu. · View Herald TranscriptJan 22 2020, 8:47 PM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
murveit requested review of this revision.Jan 22 2020, 8:47 PM
mutlaqja accepted this revision.Jan 23 2020, 5:29 AM
This revision is now accepted and ready to land.Jan 23 2020, 5:29 AM
This revision was automatically updated to reflect the committed changes.