I am new to autoguiding and EKOS. I was testing things out tonight and was able to get guiding working as expected for my mount. However I was having issues with dithering. It would hang and then fail during the dither.
I am not exactly sure why it is failing. Looking at the logs I can see it start the dither, try a number of times capturing a image and sending a command to EQMod, print that it failed, and then print that it succeeded. Can anyone make heads or tails of what is happening? As I mentioned guiding corrections seem to go through no problem.
In the log it is sending 0ms DEC pulses. I had RA guiding only on, and the two axis calibration was off, so RA only guiding was working fine. Manual dithers failed as well.
[2021-12-30T22:26:25.208 PST DEBG ][ org.kde.kstars.ekos.guide] - Dithering in progress. Current 112.23 310.043 Target 122.317 310.523 Diff star X: -0.152848 Y: -10.0973
[2021-12-30T22:26:25.208 PST INFO ][ org.kde.kstars.ekos.guide] - "Warning: Dithering failed. Autoguiding shall continue as set in the options in case of dither failure."
Checking the log it is reporting an offset in X before failure.
So X and Y offset must be under 1 for the dither to complete. That can't happen if we are only guiding in RA.
The internal guider should be checking the RA and DEC settings to determine the directional vector, and/or it should ignore discrepancies in an axis for which guiding is disabled.
Let me know if this should be a support ticket. Dithering was one of the 2 big reasons I wanted to start guiding.
Pardon my suggestion, but it seems like this could solve the issue. Basically not considering deltaRA and deltaDEC if that part of guiding is disabled:
There might be other code paths related to manual dithering that I did not check. Also feel free to ignore as I am not super familiar with the codebase haha.
In the mean time, I think the dither is working as far as the RA component is concerned. So what I will do is set the dither retries to 0 or 1 and it should abort after the first failed attempt ( which is actually correct as far as what we can do is concerned ).
It would still be nice if there was an option for this. PHD2 has a checkbox for RA only dither, as these mounts are fairly popular in the community. It would be great if we could either have a RA only dither option, or take into account the guiding controls as I have suggested above.