Improve Linear Focus Algorithm by adding extra outward motion then moving back in.
ClosedPublic

Authored by murveit on Dec 25 2019, 8:47 AM.

Details

Summary

At the start of its first and 2nd passes, the linear focuser moves out to
some position N. Now it will move to N+M and then move back in to N before
starting its inward capture sweep. This is done to remove backlash effects
inside the capture sweep, and to make sure the last motion was inward
to solify the focuser's position. There is also a small fix to a log message
and a bug-fix change to the way maxTravel was implemented in the linear focus
algorithm.

Test Plan

Main thing to see is that at the start, instead of moving out to a certain
focus position, it moves further out (by 5 focus steps), and then moves back
in (by the same 5 focus steps) before being to capture focus images.

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.Dec 25 2019, 8:47 AM
Restricted Application added a project: KDE Edu. · View Herald TranscriptDec 25 2019, 8:47 AM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
murveit requested review of this revision.Dec 25 2019, 8:47 AM
mutlaqja accepted this revision.Dec 25 2019, 9:33 AM
This revision is now accepted and ready to land.Dec 25 2019, 9:33 AM
This revision was automatically updated to reflect the committed changes.