You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using indi_eqmod_telescope, transient communication errors induce a large delay in controlling the mount.
To Reproduce
I connect my HEQ5-Pro
I issue a manual slew request at x800
I stop the manual slew
Expected behavior
At step 3, movement stops immediately.
Actual behavior
At step 3, sometimes, the driver will apparently hang, INDI panel responsive but no actions executed, for 5 or 10 seconds.
Logs (below) show read error, will retry..., which tend to indicate a serial error while motors are running. I agree with that, as I am currently reworking the power supply of the mount, and I acknowledge a ground issue.
However, while the skywatcher code is retrying 100ms after the error, the default tty_read timeout is set to 5 seconds. This last delay is far too large to ensure secure recovery of the mount movement, especially in case of transient communication errors.
Logs
[2022-04-03T18:46:56.649 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:46:56.659 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:46:56.660 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f2\", 4 bytes written "
[2022-04-03T18:46:56.669 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=101\", 5 bytes read "
[2022-04-03T18:46:56.671 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[DEBUG] Scope RA (15:25:48) DE (90:00:00) Aligned RA (15:25:48) DE (90:00:00) AZ ( 0:00:00) ALT ( 0:00:00), PierSide (West) "
[2022-04-03T18:46:56.763 CEST INFO ][ org.kde.kstars.indi] - EQMod Mount : "[INFO] East Slew stopped "
[2022-04-03T18:46:56.763 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[DEBUG] StopRA() : calling RA StopWaitMotor "
[2022-04-03T18:46:56.763 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:46:56.773 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:46:56.774 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[MOUNT] StopWaitMotor() : Axis = 1 "
[2022-04-03T18:46:56.774 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":K1\", 4 bytes written "
[2022-04-03T18:47:01.776 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read error, will retry again... "
[2022-04-03T18:47:01.777 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":K1\", 4 bytes written "
[2022-04-03T18:47:01.782 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=\", 2 bytes read "
[2022-04-03T18:47:01.783 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:01.794 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:01.894 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:01.903 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:02.003 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:02.014 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:02.115 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:02.126 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:02.224 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:02.234 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:02.335 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:02.345 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:02.445 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:02.456 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:02.557 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:02.569 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:02.667 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:02.677 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:02.778 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:02.789 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:02.890 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:02.901 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:03.002 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:03.012 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=711\", 5 bytes read "
[2022-04-03T18:47:03.112 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:03.124 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=301\", 5 bytes read "
[2022-04-03T18:47:03.125 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[SCOPE] Compute local time: lst=5.47004731 ( 5:28:12.17) - julian date=2459673.19932179 "
[2022-04-03T18:47:03.128 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":j1\", 4 bytes written "
[2022-04-03T18:47:03.138 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=530C62\", 8 bytes read "
[2022-04-03T18:47:03.139 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[SCOPE] GetRAEncoder() = 6425683 "
[2022-04-03T18:47:03.139 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":j2\", 4 bytes written "
[2022-04-03T18:47:03.150 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=806CA2\", 8 bytes read "
[2022-04-03T18:47:03.150 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[SCOPE] Current encoders RA=6425683 DE=10644608 "
[2022-04-03T18:47:03.151 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f1\", 4 bytes written "
[2022-04-03T18:47:03.160 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] read_eqmod: \"=301\", 5 bytes read "
[2022-04-03T18:47:03.160 CEST DEBG ][ org.kde.kstars.indi] - EQMod Mount : "[COMM] dispatch_command: \":f2\", 4 bytes written "
Desktop (please complete the following information):
OS: Ubuntu 21.10
KStars 3.5.8, INDI 1.9.6-e0158b46, both built from git.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using
indi_eqmod_telescope
, transient communication errors induce a large delay in controlling the mount.To Reproduce
Expected behavior
At step 3, movement stops immediately.
Actual behavior
At step 3, sometimes, the driver will apparently hang, INDI panel responsive but no actions executed, for 5 or 10 seconds.
Logs (below) show
read error, will retry...
, which tend to indicate a serial error while motors are running. I agree with that, as I am currently reworking the power supply of the mount, and I acknowledge a ground issue.However, while the
skywatcher
code is retrying 100ms after the error, the defaulttty_read
timeout is set to 5 seconds. This last delay is far too large to ensure secure recovery of the mount movement, especially in case of transient communication errors.Logs
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: