Bug 431332 - Regression of bug 389929
Summary: Regression of bug 389929
Status: RESOLVED UPSTREAM
Alias: None
Product: kstars
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-08 20:55 UTC by Hans Lambermont
Modified: 2021-09-13 11:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Lambermont 2021-01-08 20:55:10 UTC
Ekos again refuses my focuser to move beyond 100000. It has a Max travel hardcoded to 10000.
My focuser goes to 188600. This was fixed in bug 389929 back in 2018 but this bug resurfaced.
Comment 1 Jasem Mutlaq 2021-01-08 21:23:25 UTC
what focus is this? does it report absolute maximum position property?
Comment 2 Hans Lambermont 2021-01-08 22:32:16 UTC
(In reply to Jasem Mutlaq from comment #1)
> what focus is this? does it report absolute maximum position property?

Yes it reports 188600 , on startup :

2021-01-08T22:31:28: [INFO] Motor 1 max position is 61802 
2021-01-08T22:31:28: [INFO] Motor 0 max position is 188600
Comment 3 Hans Lambermont 2021-01-10 23:55:50 UTC
This problem may live in the driver side of things but I'm not sure as I have trouble reproducing it :/
I'm adding sanity checks to the driver and am testing with that. Need to wait for clear skies though for actual test.
Comment 4 Hans Lambermont 2021-01-11 00:21:37 UTC
Could it be that FocusMaxPosN (which is exposed as FOCUS_MAX.FOCUS_MAX_VALUE) is set in lots of drivers/focuser/ files but in none of the drivers/rotator/ files ?
Comment 5 Hans Lambermont 2021-02-03 20:32:16 UTC
Issue no longer reproduces. That's both good and bad because nothing really changed and it might resurface tomorrow. Closing for now.
Comment 6 Hans Lambermont 2021-02-13 17:00:19 UTC
and it reproduced again

2021-02-11T21:43:44 Focusing outward by 20000 steps...
2021-02-11T21:43:45 Focuser error, check INDI panel.
2021-02-11T21:43:45 Autofocus failed, moving back to initial focus position 173443.
So it cannot move to 193443. Which is correct because the Focus Max Travel 188600 is properly shown in EKOS.

INDI panel logs:
2021-02-11T20:43:45: [ERROR] Requested position out of bound. Focus maximum position is 188600

What can this be ?
Comment 7 Jasem Mutlaq 2021-02-13 19:25:55 UTC
Good to mention it here: https://invent.kde.org/education/kstars/-/merge_requests/212