feature/19
Daniel Warner 2011-12-15 22:46:42 +00:00
parent 5bc13b72de
commit 12297b37a1
2 changed files with 6 additions and 5 deletions

View File

@ -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");

View File

@ -3,15 +3,16 @@
#include <iostream>
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);