File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
#include " Sidereal.hpp"
2
2
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
+
3
11
static DayTime Sidereal::calculateByGPS (TinyGPSPlus* gps){
4
12
DayTime timeUTC = DayTime (gps->time .hour (), gps->time .minute (), gps->time .second ());
5
13
int deltaJd = calculateDeltaJd (gps->date .year (), gps->date .month (), gps->date .day ());
Original file line number Diff line number Diff line change 5
5
6
6
#include " DayTime.hpp"
7
7
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
-
16
8
17
9
class Sidereal
18
10
{
You can’t perform that action at this time.
0 commit comments