Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1

TOPIC: Question on units and tolerance for slews

Question on units and tolerance for slews 1 week 2 days ago #20889

  • kbahey
  • kbahey's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 57
  • Thank you received: 5
There is a piece of code in various scope models, such as Astro-Physics, FS2, and I implemented it for the Sky Sensor 2000 PC as well.

For example, line 439 Astro-Physics driver .

The code is like this:
double dx = targetRA - currentRA;
double dy = targetDEC - currentDEC;

if (fabs(dx) <= (SlewAccuracyN[0].value / (900.0)) && fabs(dy) <= (SlewAccuracyN[1].value / 60.0))
 ... slew is complete

So the question is what units are targetRA and targetDEC?

Why is RA divided by 900 and Dec by 60? Being different units would explain this.

Is the SlewAccuracyN really arc minutes or something else?

Thanks for your feedback.

Please Log in or Create an account to join the conversation.

Question on units and tolerance for slews 1 week 2 days ago #20895

RA is in hours while DE is in degrees. So dx is in hours and dy is in degrees. SlewAccuracyN is in arcmins so when converting to hours we divide by 15*60 = 900

Please Log in or Create an account to join the conversation.

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Last Edit: by knro.
  • Page:
  • 1
Time to create page: 0.256 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica