Skip to content

Fix PAA manual rotation message, Retry if solver fails, PAA UI cleanup.

Hy Murveit requested to merge murveit/kstars:paa-v2-fix5 into master

Small changes to the PAA UI. No changes to the underlying algorithms.

  • fix the manual rotation messaging (it had a bug requesting rotation degrees from an uninitialized float)
  • separated the stacked widgets for manual slewing from automated slewing, so that the manual slew message appears on the main UI
  • removed unnecessary line-wrapping from the automated slewing messaging.
  • Retry capture & solve if the solver fails (allows a total of 3 retries for the three PAA images before failing). Previously a solver failure left the PAA system hanging.

To test:

Run PAA with a simulator and manual slew, you should see a message like "Please rotate your mount about 30 degrees in RA" in the main PAA messaging area, when the user should rotate. There should be a Done button there as well. Previously there was no message like that in the main UI, and in the log area, it asked to rotate the mount ~1e6 degrees.

Run PAA in the simulator with manual unchecked (you may need to introduce polar alignment error in the simulator's indi control panel, and move the mount away from the pole, e.g. to DEC=88.5). Should work as before, only the "Executing the first mount rotation" and "Executing the second mount rotation" messages should be on one line, instead of the 3 wrapped lines that were shown previously.

I temporarily compiled-in some random simulated solver failures to test the failure retry. Not sure how to test this without such code changes. Of course, those compiled-in failures are now removed.

Edited by Hy Murveit

Merge request reports