<table><tr><td style="">murveit created this revision.<br />murveit added a reviewer: mutlaqja.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />murveit 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/D27051">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This change only affects the linear focus algorithm, and rev's it to 3.2.<br />
Previously I've found that the algorithm finds solutions, but stops a little too early.<br />
Now, once it finds a solution within tolerance, it will continue to focus-in and see if a better solution is available<br />
if (a) the HFR has been decreasing, and (b) if the next step is less than the minimum position of the polynomial solution<br />
found in the first pass, and (c) it is not near constraints like maximum number of steps or minimum focus position.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Basically it's running the linear focus algorithm with standard parameters (e.g. in the simulator with step size about 1000<br />
starting from around 40000) and noticing that in the 2nd pass, depending on the samples, it does not take the first acceptable<br />
solution if it's been decending and is not yet near the polynomial minimum.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>BRANCH</strong><div><div>focus-3.2-tweak-solution (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27051">https://phabricator.kde.org/D27051</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/focus/focus.ui<br />
kstars/ekos/focus/focusalgorithms.cpp</div></div></div><br /><div><strong>To: </strong>murveit, mutlaqja<br /><strong>Cc: </strong>kde-edu, narvaez, apol<br /></div>