Added possible fix from dundee code
parent
c6c5f451e7
commit
3647405bca
|
@ -287,6 +287,15 @@ void SGDP4::FindPositionSDP4(double tsince) {
|
|||
|
||||
DeepPeriodics(tsince, e, xinc, omgadf, xnode, xmam);
|
||||
|
||||
/*
|
||||
* TODO: is this needed
|
||||
*/
|
||||
if (xinc < 0.0) {
|
||||
xinc = -xinc;
|
||||
xnode += Globals::PI();
|
||||
omgadf -= Globals::PI();
|
||||
}
|
||||
|
||||
xl = xmam + omgadf + xnode;
|
||||
xincl = xinc;
|
||||
omega = omgadf;
|
||||
|
|
Loading…
Reference in New Issue