add EQUINOX, pier side and JD to stellarium daemon

This commit is contained in:
eddyem
2020-02-23 12:34:42 +03:00
parent 9225e28d2e
commit f6fdff12a5
16 changed files with 133 additions and 21 deletions

View File

@@ -23,6 +23,9 @@
#include <sofam.h>
#include <sys/time.h>
// JD2451544.5 == 2000.0
#define MJD2000 (51544)
typedef struct{
double utc1; double utc2; // UTC JD, commonly used MJD = utc1+utc2-2400000.5
double MJD;