Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving Dome slave to telescope regarding telescope pier side #1373

Merged
merged 10 commits into from
Mar 18, 2021

Conversation

fcasarramona
Copy link
Contributor

Looking for a solution of this bug (#1364) I improved how Dome drivers deal with the side of the pier where the telescope is in GEM mounts.

Before this change, user can inform to Dome driver which side was the telescope, but if the mount has this information, then it takes from the mount. However, in some circuntances (when telescope was moving) it's not clear what side must be taken.

To make the dome driver behaviour more predictable and clear, now the user can choose from 5 diferent options:

East : Dome always positions as if telescope tube was at the east of the pier
West: Dome always positions as if telescope tube was at the west of the pier
Mount: Dome positions as if the telescope tube was at the side the mount reports. If the mount didn't report the side, the dome behave as with a fork mount.
Hour Angle: Dome positions as if the telescope tube was at the side deducted by the hour angle of the target coordinates. For positive hour angle (telescope point to west of the meridian) the tube was in the east side.
Ignore: Dome positios as with a fork mount.

A final note: When configured as Mount and the telescope slews from one side to the other side of the pier, the dome positions to the "wrong" side when the telescope begins moving, and then repositions to the correct side when the telescope end slewing. I have not found any solution for this behaviour, so I left for a future change if a solution is found.

In order to improve the interpretation of the pier side of telescope in calculating the dome azimuth, 3 more options were added to OTASideSP switch. To East and West manual setting, options form as reported by Mount, implied by Hour Angle or Ignore options were added.
@knro
Copy link
Contributor

knro commented Mar 16, 2021

@jpaana Can you please give some feedback? I think Peter Kennet can perhaps help in the testing?

@fcasarramona
Copy link
Contributor Author

@knro @jpaana had posted a comment about it in the bug report:
#1364 (comment)

@jpaana
Copy link
Contributor

jpaana commented Mar 16, 2021

Yes, in my testing it seems the pier side is consistently flipped in this change.

@knro
Copy link
Contributor

knro commented Mar 16, 2021

Right how about the "few issues" raised here: #1364 (comment) ?

Are these resolved as well?

@fcasarramona
Copy link
Contributor Author

Corrections of errors reported by @jpaana in #1364 (comment)

@jpaana
Copy link
Contributor

jpaana commented Mar 17, 2021

Thanks, tested this new version and everything seems to be in order now. Pier side works as expected and setting is also saved, thanks!

@knro knro merged commit 6550c8b into indilib:master Mar 18, 2021
karlrees added a commit to karlrees/indi that referenced this pull request Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants