Removed unused code from SDP4 calc

feature/19
Daniel Warner 2011-07-09 18:36:42 +00:00
parent f98407a5b1
commit b947802289
1 changed files with 1 additions and 11 deletions

View File

@ -277,6 +277,7 @@ void SGP4::FindPositionSDP4(Eci* eci, double tsince) const {
a = pow(kXKE / xn, kTWOTHIRD) * pow(tempa, 2.0);
e -= tempe;
double xmam = xmdf + RecoveredMeanMotion() * templ;
/*
* fix tolerance for error recognition
@ -290,17 +291,6 @@ void SGP4::FindPositionSDP4(Eci* eci, double tsince) const {
if (e < 1.0e-6)
e = 1.0e-6;
/*
xmdf += RecoveredMeanMotion() * templ;
double xlm = xmdf + omgadf + xnode;
xnode = fmod(xnode, TWOPI);
omgadf = fmod(omgadf, TWOPI);
xlm = fmod(xlm, TWOPI);
double xmam = fmod(xlm - omgadf - xnode, TWOPI);
*/
double xmam = xmdf + RecoveredMeanMotion() * templ;
DeepSpacePeriodics(tsince, &e, &xincl, &omgadf, &xnode, &xmam);
/*