Bugfix for focus looping with HFR setup
ClosedPublic

Authored by wreissenberger on Aug 19 2019, 10:40 AM.

Details

Summary

When using HFR limits to trigger focusing after a certain amount of frames, the Capture module runs into an endless loop if "In-Sequence HFR Check" is set to "1". This patch corrects it.

Test Plan

Start KStars with simulators:

  • Start an autofocus sequence so that autofocus succeeds.
  • Create an image sequence with HFR limit set and with more than one frame. Set EKOS / Capture Parameter "In-Sequence HFR Check" to 1.
  • Start the image sequence

Without this patch, the Capture module runs into an endless loop executing a re-focus, as soon as the first image has been captured.

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.
Restricted Application added a project: KDE Edu. · View Herald TranscriptAug 19 2019, 10:40 AM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
wreissenberger requested review of this revision.Aug 19 2019, 10:40 AM
mutlaqja accepted this revision.Aug 19 2019, 2:47 PM
This revision is now accepted and ready to land.Aug 19 2019, 2:47 PM
This revision was automatically updated to reflect the committed changes.