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

            Bug ID: 501023
           Summary: Ekos Universal Roll off Roof driver initializing
                    slower input driver
    Classification: Applications
           Product: kstars
           Version: 3.7.5
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: mutla...@ikarustech.com
          Reporter: txgib...@proton.me
  Target Milestone: ---

Created attachment 179083
  --> https://bugs.kde.org/attachment.cgi?id=179083&action=edit
log file

SUMMARY
Using an Arduino test driver for the Universal Rolloff (UROR) driver.
The roof is closed. The Arduino driver indicators are correct, the UROR driver
shows both fully opened and fully closed at the same time. log_1.txt

The input driver causes debug warning errors in the UROR driver during
initialization.
The errors come from  UniversalRORClient::syncFullyOpenedState() The input
device has not yet completed its connection code when the UROR driver attempts
the sync. The device is set but it is not connected.

Removing the syncIndexes() call in the UROR Connect routine avoids both calls
during the UROR's connection. The UROR ISNewText code will subsequently call
syncIndexes outside of the Connect. syncFullyOpenedState continues the debug
error logging until the input driver gets connected.  The UROR's status
indicators are correct. Subsequent roof open/close actions are tracked okay.
log_2.txt.


STEPS TO REPRODUCE
1. Add 1/2 second delay in one of the input driver's connect code?
2. I can provide the driver and perhaps some Arduino stub code
3. 

OBSERVED RESULT
Driver not displaying state of the roof

EXPECTED RESULT
Universal and input driver showing same status.

SOFTWARE/OS VERSIONS
Ekos

ADDITIONAL INFORMATION

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

Reply via email to