Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds Alignment using Plate Solving to OnStep. For example, it allows the use of Mount Model tool in KStars/Ekos.
The work flow is to start an Align in OnStep with N stars (e.g. from the INDI control panel), then use the Mount Model with that same exact number of stars, and let Ekos turn the mount around the sky and take images, plate solve them, and sync on the coordinates.
When a sync is done (i.e. :CM# command) and OnStep detects that the alignment is in progress (i.e. number of stars aligned is not the same as number of stars selected), OnStep internally calls the AddStar align, mimicking an explicit :A+# command.
No error checking yet.
This is tested indoors, but still untested under the stars, please test if you can.