Enable Astrotrac 360 driver guide pulse #2054
Merged
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.
Unguided dithering in Ekos does not work with the Astrotrac 360 when Astrotrac is selected with "Guide via" in the Kstars optical train. List of changes to potentially enable this feature and some possibly bug fixes:
initialize the GuideRate property (currently not initialized). The new default is set to 0.1x, which is the default rate for the mount according to the author of the X2 plugin. However, users might need to set a longer guide pulse to see movement at the default rate. Note, I'm not sure if the missing initialization is a bug or was omitted by design.
check if the mount is tracking before issuing a guide pulse
Added new function to return current tracking rate
use the current tracking rates rather than custom rates to calculate the mount movement in arcseconds. The custom rates will only be used if the track mode is set to "Custom".
if the DEC tracking rate is 0, which is the normal case, then the velocity for a south guide pulse is set to negative. This ensures that DEC guide pulses are not always in the same direction as RA when the DEC rate is 0.
reset tracking when the guide pulse is finished
I have tested the changes with my mount but the test coverage is very limited. I don't use a guide camera (hence unguided dithering) so I don't know what effects, if any, these changes might have on guided dithering or guiding in general.