feature/19
Daniel Warner 2011-04-01 15:58:28 +01:00
parent 219b70ee2c
commit b2c4e9b6bd
1 changed files with 2 additions and 0 deletions

View File

@ -1045,6 +1045,8 @@ void SGDP4::DeepSpacePeriodics(const double& t, double& em,
xnodes = atan2(alfdp, betdp);
/*
* Get perturbed xnodes in to same quadrant as original.
* RAAN is in the range of 0 to 360 degrees
* atan2 is in the range of -180 to 180 degrees
*/
if (fabs(oldxnodes - xnodes) > Globals::PI()) {
if (xnodes < oldxnodes)