https://bugs.kde.org/show_bug.cgi?id=526397

Jasem Mutlaq <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/educ
                   |                            |ation/kstars/-/commit/1c999
                   |                            |ecd5c81a0bf617c08d11cf72863
                   |                            |587040c8
            Version|                            |3.8.5
  Fixed/Implemented|                            |
                 In|                            |
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED

--- Comment #3 from Jasem Mutlaq <[email protected]> ---
Git commit 1c999ecd5c81a0bf617c08d11cf72863587040c8 by Jasem Mutlaq.
Committed on 29/09/2026 at 04:58.
Pushed by mutlaqja into branch 'master'.

Fix internal guider not guiding after the scheduler restarts it while suspended

When a scheduler job repeats and its sequence ends with non-light frames
(e.g. flats), guiding is still suspended when the next iteration starts.
SchedulerProcess::startCapture() then restarts guiding through
connectGuider() + guide(). InternalGuider::Connect() resets the state to
IDLE, and guide() starts a fresh session and reports GUIDE_GUIDING, but
the cgmath suspend flag set by suspend() was never cleared. Every guide
frame was then skipped: no corrections were sent and no guide stats
reached Analyze for the rest of the night.

Clear the suspension whenever guide() starts a fresh session, and add a
unit test covering both the suspend/resume path and the scheduler's
restart-while-suspended sequence.
FIXED-IN: 3.8.5

Co-Authored-By: Claude Opus 5.5 <[email protected]>

M  +5    -0    Tests/ekos/guide/CMakeLists.txt
A  +94   -0    Tests/ekos/guide/testinternalguider.cpp     [License:
GPL(v2.0+)]
M  +5    -0    kstars/ekos/guide/internalguide/internalguider.cpp
M  +5    -0    kstars/ekos/guide/internalguide/internalguider.h

https://invent.kde.org/education/kstars/-/commit/1c999ecd5c81a0bf617c08d11cf72863587040c8

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to