<table><tr><td style="">TallFurryMan created this revision.<br />TallFurryMan added reviewers: mutlaqja, wreissenberger.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />TallFurryMan requested review of this revision.
</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/D15436">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This differential removes a safeguard on preliminary focus which is not always needed in the current state of the Focus module.<br />
The original code prevented the auto-focus method from starting without prior manual focus done at least once.<br />
This safeguard was here to prevent the situation where the optical train would be too far from the focal plane to allow star detection.<br />
In any case, it does not solve any particular problem, and gets in the way of the Scheduler when it starts the observatory by itself.</p>
<p>This differential also adds a warning log about having a periodic or HFR refocus procedure set in Capture while no Focus step is set for the Scheduler job.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Close and reopen KStars, create a very simple scheduler job with only the focus step selected, and execute it.<br />
Without the change, the focus step outputs the message "Manual scheduler focusing is not supported. Run autofocus process before trying again.".<br />
With the change, the focus step doesn't output that message and proceeds to auto-focus.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>improve__allow_autofocus_with_no_prior_focus (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15436">https://phabricator.kde.org/D15436</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/capture/capture.cpp<br />
kstars/ekos/scheduler/scheduler.cpp</div></div></div><br /><div><strong>To: </strong>TallFurryMan, mutlaqja, wreissenberger<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>