<table><tr><td style="">wreissenberger updated this revision to Diff 55561.<br />wreissenberger added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20029">View Revision</a></tr></table><br /><div><div><p>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.</p>

<p>Test case example</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Take a LRGB sequence and set the scheduler to 3 repeats</li>
<li class="remarkup-list-item">Let it run, so that you obtain 3xL, 3xR, ...</li>
<li class="remarkup-list-item">Delete the L frames</li>
<li class="remarkup-list-item">Change the scheduler job to 2 repeats and leave the rest as is</li>
<li class="remarkup-list-item">Restart the scheduler job</li>
</ul>

<p>Expected result: the L sequence should run twice while no more RGB frames are created.</p>

<p>Without this fix, the log message appears that only calibration frames are necessary <strong>and does not slew to the target</strong> but immediately starts to capture frames.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D20029?vs=54965&id=55561">https://phabricator.kde.org/D20029?vs=54965&id=55561</a></div></div><br /><div><strong>BRANCH</strong><div><div>capture_counting</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20029">https://phabricator.kde.org/D20029</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/scheduler/scheduler.cpp</div></div></div><br /><div><strong>To: </strong>wreissenberger, mutlaqja, TallFurryMan<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>