Bug 410804

Summary: Backlash correction in EKOS Focuser panel
Product: [Applications] kstars Reporter: Jean-Claude <jcjesior>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 3.3.4   
Target Milestone: ---   
Platform: Other   
OS: macOS   
Latest Commit: Version Fixed In:

Description Jean-Claude 2019-08-11 08:00:33 UTC
SUMMARY
As far as I know, all focusers have a backlash.
This can be very annoying when trying to find the best focus.
And this can be corrected by a backlash correction.
Would it be possible to add a backlash correction to the EKOS focuser panel ?
Thank you.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jasem Mutlaq 2019-08-12 07:29:44 UTC
Thanks, I'll check if this can be implemented. Not all focusers have backlash though.
Comment 2 Jean-Claude 2019-08-12 08:48:54 UTC
(In reply to Jasem Mutlaq from comment #1)
> Thanks, I'll check if this can be implemented. Not all focusers have
> backlash though.

I'm looking forward to see this implementation.
I have a motorised Microtouch focuser and the backlash I measured is around 200 steps for a focus found around 29000 steps.
In my setting, 1 step = 1 micron. So 200 steps = 1/5 mm. It's a lot.
The implementation of a focuser backlash compensation in KStars should also improve the Autofocus procedure.
Comment 3 Jasem Mutlaq 2019-08-13 20:09:19 UTC
Git commit 54d617fa45954b28bec1cbf8e6aac9ae5faf626d by Jasem Mutlaq.
Committed on 13/08/2019 at 20:08.
Pushed by mutlaqja into branch 'master'.

Add support to setting backlash directly in Ekos focus module IF supported by the INDI driver.

M  +23   -1    kstars/ekos/focus/focus.cpp
M  +113  -97   kstars/ekos/focus/focus.ui
M  +47   -0    kstars/indi/indifocuser.cpp
M  +5    -0    kstars/indi/indifocuser.h

https://commits.kde.org/kstars/54d617fa45954b28bec1cbf8e6aac9ae5faf626d
Comment 4 Jean-Claude 2019-08-13 23:58:40 UTC
Superb ! Thanks a lot.
I'll wait the next KStars release.