diff --git a/PassPredict.cpp b/PassPredict.cpp index fa4d371..5954acf 100644 --- a/PassPredict.cpp +++ b/PassPredict.cpp @@ -220,7 +220,7 @@ void AOSLOS(const CoordGeodetic& user_geo, SGP4& sgp4, const Julian& start_time, int main() { - CoordGeodetic geo(51.37322, 0.089607, 0.05); + CoordGeodetic geo(51.507406923983446, -0.12773752212524414, 0.05); Tle tle("GIOVE-B ", "1 32781U 08020A 11158.03814084 .00000088 00000-0 10000-3 0 4620", "2 32781 55.9142 172.9458 0022365 228.3743 131.4697 1.70953903 19437"); diff --git a/SatTrack.cpp b/SatTrack.cpp index 0af29d0..cb5afbe 100644 --- a/SatTrack.cpp +++ b/SatTrack.cpp @@ -3,15 +3,16 @@ #include -int main() { - - Observer obs(51.37322,0.089607,0.05); +int main() +{ + Observer obs(51.507406923983446, -0.12773752212524414, 0.05); Tle tle = Tle("ISS (ZARYA) ", "1 25544U 98067A 11146.36888985 .00025753 00000-0 16912-3 0 4201", "2 25544 51.6504 272.6534 0003891 329.5510 71.2188 15.75539412717473"); SGP4 sgp4(tle); - while(1) { + while(1) + { Julian now; Eci eci = sgp4.FindPosition(now); CoordTopographic topo = obs.GetLookAngle(eci);