Capture & Solve -> Slew to Target...
No sorry. I got hit with two snags:
1. The approach I started with actually created a competing for state in the state model. I have some direction but...
2. My mount is in for warranty work, so I cannot test changing this anymore.
Hopefully, I will have a mount again in a month or so. For now, my hands are tied unfortunately.
I must say that I'm a bit surprised to see all the problems you seem to have encountered on this project. When I do it by hand (using the "motion" tab in the "mount" tab on the INDI control panel) it works fine. So, all I would need is the same function than the one which is called when I click the Nord/South/East/West buttons on the INDI control panel. From there, it should be quite straightforward.
Of course, I say that and I'll probably realized that it is more complicated than what I think...
I guess I need to start getting into the INDI/Ekos source code one of these days. Maybe that's going to be my fun project for Christmas break...
The nudging attempted was to determine the RA/DEC deltas and if under 2' to use the AuxCommands to inheritently nudge the mount in the right direction using the alt/az deltas.
The good news is that it seems quite possible to use the Aux commands to nudge the needed Alt/Az deltas, just do not do so in an in appropriate state model.
Jochym wrote: I am afraid that this is not going to work. Since HC is not monitoring AUX commands send by your code it will gradually lose the calibration as time progresses (with each nudge). You can probably mitigate it somewhat by syncing the mount after each nudge - but I am skeptical of the effectiveness of this approach.
Yes, I would re-sync after each nudge. I know it works not too bad because that's how I do it now, except that it is done by hand. Here is a detailed description of my operating scheme:
1. Do a regular GoTo for the target (or a precise GoTo, doesn't change the rest of the operations)
2. Capture and solve.
3. Sync on the RA/DEC values given by the plate solving (I do this in the INDI control panel)
4. Move the mount (with the North/South/East/West buttons in the INDI control panel) until the coordinates given by Ekos are that of my target.
5. Capture and solve.
6 If coordinates of the new images are close enough to the target, done. Else, repeat from step 3.
I have quite a lot of backlash on my mount, so usually I have to do 2 or 3 iterations of this. But it works great. In just 2 or 3 minutes I can get the target to within 1' of the center, which is plenty good for me.
Now, all I need is a way to do the same with some code, rather than by hand. Should be straightforward for someone familiar with INDI/Ekos. I should have a bit of time over Christmas, so I'll start looking into that.
The only problem I could see is if the multiple sync somehow screw up the alignment model.
There is a slew setting with the hand controller that allows you to change the direction of final approach for each axis. The default for my mount was positive RA and positive DEC. I was having trouble getting the slews under 80 arcmin so I decided to try some experimenting with these. I switched RA to negative and did a 'calibrate mount/ goto calibration'. After this the gotos are much better, down to under 50 and often better. Hope it helps someone