Bug 411722 - Capture module calls for refocus too often.
Summary: Capture module calls for refocus too often.
Status: RESOLVED NOT A BUG
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.3.4
Platform: Mint (Ubuntu based) Linux
: NOR minor
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-08 18:14 UTC by Ray Wells 4.0
Modified: 2019-09-11 19:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:
blues_hawk: Usability?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Wells 4.0 2019-09-08 18:14:24 UTC
SUMMARY:
Whenever I set an hfr value to trigger a refocus the system reduces the value for any smaller frame, and then as soon as a slightly larger frame comes in it triggers a refocus. 
To reproduce: 

Expected behavior: It should not change that level if manually set.

Linux Peppermint9 5.1.20-050120-generic x86_64 GNU/Linux
Ver. 3.3.4 2019-08-08T02:43:23Z

Okay...I know this was hashed out before when someone wanted it to be more reactive, but I think it's TOO reactive now, and is trying to do something that is impossible by continually trying to improve focus well beyond sky conditions. Maybe we could add a switch to tell it to hold the setting?
Thanks,
Ray

Additional bug found: After capture run aborted and restarted, module still tries to refocus, despite disabling the trigger.

STEPS TO REPRODUCE
1.check box for "Autofocus if HFR>___"
2. Set a level for refocus and do a capture run.

OBSERVED RESULT

Unit will alter your settings with each passing capture.
For example, after measuring 1.3 in the focus, the refocus setting was set to 3 so it would only run if things got really bad or as needed a filter change, but once a lower figure was measured(seeing improved a bit) the field showing threshold for refocus was lowered to .770 and then the next frame caused a refocus.

EXPECTED RESULT
Threshold for refocus should stay as set, not rate each new image as this will almost always result in a failed run.

SOFTWARE/OS VERSIONS
Linux: Peppermint9(ubuntu based) 18.04.3 lts 
Qt Version: 5.9.5+dfsg-0ubuntu2.3
Linux Peppermint9 5.1.20-050120-generic x86_64 GNU/Linux
Kstars Ver. 3.3.4 2019-08-08T02:43:23Z
ADDITIONAL INFORMATION

 I know this was hashed out before when someone wanted it to be more reactive, but I think it's TOO reactive now, and is trying to do something that is impossible by continually trying to improve focus well beyond sky conditions. Maybe we could add a switch to make fixed/variable available to the user? I couldn't find that conversation as an issue so I suspect it might be on indi forums somewhere.

Thanks,
Ray
Comment 1 Jasem Mutlaq 2019-09-11 11:07:41 UTC
How about disabling "use median focus" in Settings --> Configure KStars --> Ekos --> Capture ?
Comment 2 Ray Wells 4.0 2019-09-11 19:12:19 UTC
I see. So the malfunction is likely caused by the defaults in that settings page I somehow had never seen before. Thanks for the info. From my perspective, it really did just look broken.