Changed Tle within main to SDP4

feature/19
Daniel Warner 2011-03-29 21:15:18 +01:00
parent 268baadd53
commit aee7a76dad
2 changed files with 9 additions and 5 deletions

View File

@ -523,7 +523,6 @@ void SGDP4::DeepSpaceInitialize(const double& eosq, const double& sinio, const d
const double& theta2, const double& sing, const double& cosg, const double& betao2,
const double& xmdot, const double& omgdot, const double& xnodot) {
double se = 0.0;
double si = 0.0;
double sl = 0.0;

View File

@ -46,11 +46,15 @@ int main() {
tles.push_back(Tle("UK-DMC 2 ",
"1 35683U 09041C 11083.19129526 .00000128 00000-0 29890-4 0 8539",
"2 35683 98.0774 342.2478 0001262 104.0560 256.0776 14.69410764 88426"));
#endif
tles.push_back(Tle("SGP4 Test",
"1 88888U 80275.98708465 .00073094 13844-3 66816-4 0 8",
"2 88888 72.8435 115.9689 0086731 52.6988 110.5714 16.05824518 105"));
//tles.push_back(Tle("SGP4 Test",
// "1 88888U 80275.98708465 .00073094 13844-3 66816-4 0 8",
// "2 88888 72.8435 115.9689 0086731 52.6988 110.5714 16.05824518 105"));
tles.push_back(Tle("SDP4 Test",
"1 11801U 80230.29629788 .01431103 00000-0 14311-1 13",
"2 11801 46.7916 230.4354 7318036 47.4722 10.4117 2.28537848 13"));
std::list<Tle>::iterator itr;
Julian jul;
@ -83,6 +87,7 @@ void RunTle(Tle tle, double start, double end, double inc) {
running = false;
else if (current + inc > end)
current = end;
else
current += inc;
}