Autofocus support in Ekos module for manualfocusdrive gphoto command for Nikon
ClosedPublic

Authored by zyziuk on Dec 31 2019, 12:25 AM.

Details

Summary

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 Z6 according to documentation http://www.gphoto.org/doc/remote/.
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

Test Plan
  1. Regression tests on the simulator for relative focus position
  2. Test on Nikon Z6 and Nikon D 7100 for manualfocusdrive with iterative and polynominal algorithms.

Diff Detail

Repository
R321 KStars
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
zyziuk created this revision.Dec 31 2019, 12:25 AM
Restricted Application added a project: KDE Edu. · View Herald TranscriptDec 31 2019, 12:25 AM
Restricted Application added a subscriber: kde-edu. · View Herald Transcript
zyziuk requested review of this revision.Dec 31 2019, 12:25 AM
zyziuk edited the summary of this revision. (Show Details)Dec 31 2019, 12:30 AM
zyziuk edited the test plan for this revision. (Show Details)
mutlaqja accepted this revision.Dec 31 2019, 4:27 AM
mutlaqja added a subscriber: mutlaqja.

This is great!! I hope it makes DSLR focusing much more accessible now in Ekos. Hopefully we get reports back from Canon users as well.

This is an awesome 2019 end year gift Piotr! :-)

This revision is now accepted and ready to land.Dec 31 2019, 4:27 AM
This revision was automatically updated to reflect the committed changes.