File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#include " Sidereal.hpp"
22
3+ // Constants for sidereal calculation
4+ // Source: http://www.stargazing.net/kepler/altaz.html
5+ #define C1 100.46
6+ #define C2 0.985647
7+ #define C3 15.0
8+ #define C4 -0.5125
9+ #define J2000 2000
10+
311static DayTime Sidereal::calculateByGPS (TinyGPSPlus* gps){
412 DayTime timeUTC = DayTime (gps->time .hour (), gps->time .minute (), gps->time .second ());
513 int deltaJd = calculateDeltaJd (gps->date .year (), gps->date .month (), gps->date .day ());
Original file line number Diff line number Diff line change 55
66#include " DayTime.hpp"
77
8- // Constants for sidereal calculation
9- // Source: http://www.stargazing.net/kepler/altaz.html
10- #define C1 100.46
11- #define C2 0.985647
12- #define C3 15.0
13- #define C4 -0.5125
14- #define J2000 2000
15-
168
179class Sidereal
1810{
You can’t perform that action at this time.
0 commit comments