hjd1964 / OnStep

Arduino telescope goto for equatorial and alt/az mounts
http://www.stellarjourney.com/index.php?r=site/equipment_onstep
GNU General Public License v3.0
452 stars 167 forks source link

Use the stock Ephemeris, and have accurate moon position #128

Closed kbahey closed 5 years ago

kbahey commented 5 years ago

For this pull request, I used the stock ephemeris, and made it work. What was missing was a call to Ephemeris::setLocationOnEarth(), and prior to that, a call to :Gt and :Gg to get the latitude and longitude.

Now the moon position is accurate.

kbahey commented 5 years ago

Already fixed in Alpha, not needed.