Bug 372649

Summary: EKOS focus module claims it is focusing when it is not
Product: [Applications] kstars Reporter: Hans Lambermont <hans>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hans Lambermont 2016-11-19 00:00:08 UTC
The EKOS focus module can be controlled manually by pressing 'capture' and then 'focus in' and 'focus out'. In this use case it prevents the main CCD imaging camera to work as that one then reports 'cannot capture while focus module is busy'. The focus module is not active. Its 'Stop' button is greyed out which is good of course, just confirming it's not active.

As a workaround I instructed the focus module to complete an additional 'Auto focus' round. When that completed the main CCD imaging camera can work.

kstars-bleeding PPA under Ubuntu 16.04.1 , 4.4.0-47-generic kernel.
kstars-bleeding 5:16.10+201611151019~ubuntu16.04.1
Comment 1 Jasem Mutlaq 2016-11-19 00:53:01 UTC
Git commit 198cf16d7fb164dd2ad37f748877c40b10805411 by Jasem Mutlaq.
Committed on 19/11/2016 at 00:51.
Pushed by mutlaqja into branch 'master'.

Consider wait stage prior to progress so that other modules are not blocked while in the waiting period which should expire after a particular timeout.

M  +1    -1    kstars/ekos/align/align.cpp
M  +2    -2    kstars/ekos/ekos.h
M  +16   -4    kstars/ekos/focus/focus.cpp
M  +3    -0    kstars/ekos/focus/focus.h

http://commits.kde.org/kstars/198cf16d7fb164dd2ad37f748877c40b10805411