Bug 438995 - tracking stop is not reflected in several status indicators with Losmandy driver
Summary: tracking stop is not reflected in several status indicators with Losmandy driver
Status: RESOLVED NOT A BUG
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: git
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-21 13:31 UTC by amiga2000c
Modified: 2023-05-29 09:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amiga2000c 2021-06-21 13:31:45 UTC
SUMMARY
A click at "Tracking: OFF" in the mount TAB actually stops tracking but all indicators show the mount was continuing tracking.

STEPS TO REPRODUCE
1. Start Losmandy Driver
2. Start Ekos
3. In Mount TAB click tracking: OFF

OBSERVED RESULT
tracking stops but:
- mount control window shows "Status: Tracking"
- mount TAB shows "Tracking" and Tracking ON button/indicator remains red.
- setup TAB shows "Mount: Tracking"

EXPECTED RESULT
mount control window should show Status: Idle
mount TAB should show "Idle" and OFF button should be red.
setup TAB should show "Mount: Idle"

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

ADDITIONAL INFORMATION
KStars compiled from GIT. With simulators, indicators work correctly when tracking is stopped.
Comment 1 Jasem Mutlaq 2021-07-29 11:41:35 UTC
It appears that stop tracking simply calls sleepMount() which issues ":hN#" command. What's the latest command set for this mount?
Comment 2 amiga2000c 2021-08-16 17:52:12 UTC
The ":hN#" command is correct and the mount stops tracking as expected. However, all indicators in the GUI pretend the mount was still tracking. 

http://www.company7.com/library/losmandy/GemL4SerialIntCommand.html provides a list of serial commands. I doubt it's the latest version though.
Comment 3 Jasem Mutlaq 2021-08-18 17:39:03 UTC
Right that's not latest version. Please try to find and I will look for it as well.
Comment 4 amiga2000c 2021-09-20 15:25:24 UTC
(In reply to Jasem Mutlaq from comment #3)
> Right that's not latest version. Please try to find and I will look for it
> as well.

The issue is with the LED/text indicators in Ekos. The Gemini command set has nothing to do with it IMO. The command issued is the correct one and does work as expected. The mount starts/stops tracking when being told so. Ekos just doesn't reflect the actual tracking state correctly.
Comment 5 Jasem Mutlaq 2023-05-29 07:57:36 UTC
This is not actually a KStars issue, but an INDI issue.
Comment 6 amiga2000c 2023-05-29 09:45:05 UTC
Good to see a long standing issue finally resolved.