Tidy up
parent
5bc13b72de
commit
12297b37a1
|
@ -220,7 +220,7 @@ void AOSLOS(const CoordGeodetic& user_geo, SGP4& sgp4, const Julian& start_time,
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
CoordGeodetic geo(51.37322, 0.089607, 0.05);
|
CoordGeodetic geo(51.507406923983446, -0.12773752212524414, 0.05);
|
||||||
Tle tle("GIOVE-B ",
|
Tle tle("GIOVE-B ",
|
||||||
"1 32781U 08020A 11158.03814084 .00000088 00000-0 10000-3 0 4620",
|
"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");
|
"2 32781 55.9142 172.9458 0022365 228.3743 131.4697 1.70953903 19437");
|
||||||
|
|
|
@ -3,15 +3,16 @@
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
int main() {
|
int main()
|
||||||
|
{
|
||||||
Observer obs(51.37322,0.089607,0.05);
|
Observer obs(51.507406923983446, -0.12773752212524414, 0.05);
|
||||||
Tle tle = Tle("ISS (ZARYA) ",
|
Tle tle = Tle("ISS (ZARYA) ",
|
||||||
"1 25544U 98067A 11146.36888985 .00025753 00000-0 16912-3 0 4201",
|
"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");
|
"2 25544 51.6504 272.6534 0003891 329.5510 71.2188 15.75539412717473");
|
||||||
SGP4 sgp4(tle);
|
SGP4 sgp4(tle);
|
||||||
|
|
||||||
while(1) {
|
while(1)
|
||||||
|
{
|
||||||
Julian now;
|
Julian now;
|
||||||
Eci eci = sgp4.FindPosition(now);
|
Eci eci = sgp4.FindPosition(now);
|
||||||
CoordTopographic topo = obs.GetLookAngle(eci);
|
CoordTopographic topo = obs.GetLookAngle(eci);
|
||||||
|
|
Loading…
Reference in New Issue