Removed unused code from SDP4 calc
parent
f98407a5b1
commit
b947802289
12
SGP4.cpp
12
SGP4.cpp
|
@ -277,6 +277,7 @@ void SGP4::FindPositionSDP4(Eci* eci, double tsince) const {
|
||||||
|
|
||||||
a = pow(kXKE / xn, kTWOTHIRD) * pow(tempa, 2.0);
|
a = pow(kXKE / xn, kTWOTHIRD) * pow(tempa, 2.0);
|
||||||
e -= tempe;
|
e -= tempe;
|
||||||
|
double xmam = xmdf + RecoveredMeanMotion() * templ;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* fix tolerance for error recognition
|
* fix tolerance for error recognition
|
||||||
|
@ -290,17 +291,6 @@ void SGP4::FindPositionSDP4(Eci* eci, double tsince) const {
|
||||||
if (e < 1.0e-6)
|
if (e < 1.0e-6)
|
||||||
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);
|
DeepSpacePeriodics(tsince, &e, &xincl, &omgadf, &xnode, &xmam);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue