D20029: Capture counting corrected

Wolfgang Reissenberger noreply at phabricator.kde.org
Sat Apr 6 15:17:27 BST 2019


wreissenberger updated this revision to Diff 55561.
wreissenberger added a comment.


  Update: There was an another bug in calculating whether light frames are required by a schedule job. In the case that "Repeat for x runs" is selected and one sequence has more captures than required and another one has less, the scheduler job assumes than no light frames are required - which is wrong.
  
  Test case example
  
  - Take a LRGB sequence and set the scheduler to 3 repeats
  - Let it run, so that you obtain 3xL, 3xR, ...
  - Delete the L frames
  - Change the scheduler job to 2 repeats and leave the rest as is
  - Restart the scheduler job
  
  Expected result: the L sequence should run twice while no more RGB frames are created.
  
  Without this fix, the log message appears that only calibration frames are necessary **and does not slew to the target** but immediately starts to capture frames.

REPOSITORY
  R321 KStars

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D20029?vs=54965&id=55561

BRANCH
  capture_counting

REVISION DETAIL
  https://phabricator.kde.org/D20029

AFFECTED FILES
  kstars/ekos/scheduler/scheduler.cpp

To: wreissenberger, mutlaqja, TallFurryMan
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190406/53613f0f/attachment.html>


More information about the kde-edu mailing list