Hey thanks for your interest in that driver. Indeed dithering is a very interesting feature, was in my list, and still is.
In order to keep a viable development, I started with the remote UI feature alone, in 2017. It made me discover the protocol and the documentation, without the feature creep
sometimes I had to reverse-engineer the data to understand the doc, so that "basic" remote view was the right scope to work in first.
From where I am now, the second right thing to do is to provide a PHD2 API plug in the driver. I've been pondering whether to create an INDI client for this instead, but adding yet another interface is too cumbersome. Although that makes the driver more "intelligent" (see later), better to implement it inside the driver.
Because such a protocol requires the MGen control to be automated, and because the protocol is simply not designed to do that, I inserted a first and a half step to consolidate basic automated navigation. This is implemented (but not published) and allows clicking on buttons to do the following:
- star detection and selection, with feedback on whether one is found
- auto calibration in RA and DEC
- guiding start and stop
This most often works, but is not robust (it's nice to have this fire-and-forget mode even in remote UI though!). For instance, auto calibration needs to know the pier side to eventually reverse the feedback, that's still manual. Or sometimes there is latency and the navigation just stucks. Providing dx/dy is also implemented, but needs checking because sometimes results are just weird.
I also started implementing the PHD2 protocol with what I could find in Ekos. The issue here is that the protocol is nicely documented from the client point of view, but less so from the server. Now that 2.9.1 is out, I believe it will be easier to follow what Ekos is doing given the work done in the guiding panel. The primary objective here is to implement the strict minimum to work with Ekos.
So in other words, I'll push this to github for you to check. I will have little time to work on this until my fixed obs is finished, probably in spring, but we can discuss.
-Eric