Hello,
i am running Astroberry on a Pi4 with 2 GB but i have serious problems with the new polar alignment when i set the refresh method to "Plate Solve". I use a IMX533 Sensor with my 200 PDS, meaning i have a very narrow FOV of about 40' x 40'. Normally Plate Solver works very well, regardless which one i use. I have tried the internal solver, ASTAP, Local astrometry. Everything fine.
When i try polar alignment 3 images are taken and solved. So far so good.
But then comes the Refresh phase. I set a refresh rate (i think this is the exposure time, set identical to the exposure time set in the align tab) and click on "Refresh" while the widget on the right says "Plate Solve".
EKOS then captures the first image and a text "Image 1" appears between the 2 widgets. After 10 seconds i get the message "Refresh solver failed: 3,4s" in the log area. Regardless what i try: I have no success. I have setup a profile simulating my equipement with the simulator drivers to check what goes wrong.
I have looked in the source code on Github and found 2 strange things:
1. In polaralignmentassistent.cpp i found in Line 137 (PolarAlignmentAssistent::setEnabled) that the Polar Alignment Helper only can be used for FOV>0.5 degrees.
Looks like this value is not checked in the rest of the code.
Is this really a restriction? Why? Plate Solving with my small FOV works very well - why should i not be able to plate solve during the refresh phase of PA?
2. Another point in PolarAlignmentAssistent::startSolver, Line 152 sets the solverTimeout to 10 seconds.
When i use ASTAP as a solver it looks like ASTAP is started during the refresh phase but somehow filled with strange parameters. The call of the external solver does not appear in the "Solution Results" tab nor is the command with parameters logged. But ASTAP opens a small window in the upper left area and runs through different FOV. Looks like there are missing parameters and ASTAP does a complete blind solve.
If this is true, ASTAP needs more than 10 seconds for blind solving (which should be not necessary for just confirming the movement of the polar wedge in relation to the last image taken during the first phase).
For normal Plate Solving you can specify the Maximum Time in the Align Options under "Align Options Profile Editor". Default is set to 600s i think. Why is this value not used during the refresh rate of the PA routine?
And why is the command line used to start the external solver not shown in the log (if logging is set to verbose)? And why do the solver requests during refresh do not appear in the solution results? Looks like the refresh phase of the PA does not respect the solver settings at all? Maybe this leads to errors during solving? Instead it doubles the search radius and sets the timeout to 10s. And there is no display of the error that has caused the solver to abort - just a generic message when there is no success. Should be fixed
I tried rising the log level of the local astronometry but this produces a huge amount of log entries that seem to freeze kstars on the raspi when they are listed in the log area - found no way to ONLY redirect them to a file... I tried different settings for the logs and managed to see a logfile "externalExtracorSolver_?.log" for each of the 3 images taken in the first phase of the PA (and fits files for the images taken). But no log for the refresh phase (but fits files are created in /tmp). Only timeouts with ASTAP after 10s.... Or "Refresh solver failed: ?.?s" with other solvers.
Looks like there is some room for improvement in this area

Any hints how i can get this running? Due to my very small FOV the normal "MOVE Star" method is difficult as even small polar alignment errors show a triangle much larger then the visible image. I have to do the polar alignment "old style" a couple of times until the error is small enough to be able to really move a star to the target. I have hoped that this is a lot easier with the new plate solve method - but could not get it working.
Is there anyone out there with a simular setup and a working PA with the new Plate Solve Refresh?
Ciao, Udo
P.S.: I have installed all required and recommended index files and currently try to install the remaining ones - maybe it works with adding this huge files index-4200-* and index-5200-* - but this can take a while over the slow wifi of the raspi;-)