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

Incorrect DEC slew calculations #104

Open
trishmapow opened this issue May 30, 2021 · 0 comments
Open

Incorrect DEC slew calculations #104

trishmapow opened this issue May 30, 2021 · 0 comments

Comments

@trishmapow
Copy link
Contributor

trishmapow commented May 30, 2021

Repost here from Discord.

Steps to reproduce (not 100% guaranteed):

  • (maybe?) DEC inverted in config
  • start at home position in southern hemisphere
  • slew north to 0 DEC (or higher?)
  • slew anywhere in RA

What happens:
State before second slew: Tracking,--T---,0,28278,1470,154009,+000000,
OATControl sends :XGC12.000*0.000# and receives 17267|-28278
DEC crashes into RA ring (also occurs over ASCOM)

What should happen:
DEC should not move at all, -28278 should be positive.

I haven't dug into the code enough to understand stepper directions, how coordinates are encoded and so on. I ended up rewiring to avoid DEC invert, and the problem did not occur (limited testing). Will update when I have more time.

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

No branches or pull requests

1 participant