Skip to content

Major alignment refactor

Jasem Mutlaq requested to merge (removed):adaptive_solver into master

This MR breaks down the monstrous align class to several components:

  • Polar Alignment Assistant
  • Manual Rotation
  • Mount Model
  • Legacy Polar Alignment ---> Separated out and then removed.

With the current PAA, we do not need to keep the legacy polar alignment, it adds no further value and does not receive maintenance.

In addition to the above changes, adaptive solving is added. This is only executed once per session. If a solve fails, it tries to run the solver again with scale off. If this fails as well, it retries solving with position off.

Ekos can update the effective FOV in case the scale was off, and therefore subsequent solves would work fine. However, the user would be alerted to the fact that the FOV is wrong and they probably need to adjust their focal length. For position, if the mount isn't synced properly afterwards, there isn't really much to be done.

Merge request reports

Loading