<table><tr><td style="">zyziuk created this revision.<br />zyziuk added a reviewer: KStars.<br />zyziuk added a project: KStars.<br />Herald added a project: KDE Edu.<br />Herald added a subscriber: kde-edu.<br />zyziuk 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/D26314">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Improve Focus Module in Ekos by adding autofocus support for DSLR's that use manualfocusdrive command by gphoto instead of rel_focus_position for example, Nikon <a href="https://phabricator.kde.org/Z6" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">Z6</a> according to the documentation <a href="http://www.gphoto.org/doc/remote/" class="remarkup-link" target="_blank" rel="noreferrer">http://www.gphoto.org/doc/remote/</a>.<br />
Nikon DSLR: Manual focusing only works in the "liveview" aka "preview" mode (with mirror up). In "non preview" mode the focus motor is only controllable by the autofocus engine. --set-config manualfocusdrive=step size</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Regression tests on the simulator for relative focus position</li>
<li class="remarkup-list-item">Test on Nikon <a href="https://phabricator.kde.org/Z6" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">Z6</a> and Nikon <a href="https://phabricator.kde.org/D7100" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: line-through;">D7100</a> for manualfocusdrive with iterative and polynominal algorithms.</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R321 KStars</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D26314">https://phabricator.kde.org/D26314</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kstars/ekos/focus/focus.cpp<br />
kstars/indi/indifocuser.cpp<br />
kstars/indi/indifocuser.h</div></div></div><br /><div><strong>To: </strong>zyziuk, KStars<br /><strong>Cc: </strong>kde-edu, zyziuk, ageoroceanu, smoe, narvaez, apol<br /></div>