From 5a8da3876fbacab29ff950f2255dd52de7f7d796 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Wed, 23 Feb 2022 09:15:20 -0700 Subject: [PATCH] Update sgp4pred.h Made state vector (ro and vo) publicly accessible --- src/sgp4pred.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sgp4pred.h b/src/sgp4pred.h index 0e3f34e..2208210 100644 --- a/src/sgp4pred.h +++ b/src/sgp4pred.h @@ -59,8 +59,6 @@ struct passinfo class Sgp4 { char opsmode; gravconsttype whichconst; - double ro[3]; - double vo[3]; double razel[3]; double offset; //Min elevation for overpass prediction in radials double sunoffset; //Min elevation sun for daylight in radials @@ -71,6 +69,8 @@ class Sgp4 { double visiblewrap(double jdCe); //returns angle between sun surface and earth surface public: + double ro[3]; + double vo[3]; char satName[25]; ///satellite name char line1[80]; //tle line 1 char line2[80]; //tle line 2