The problem is reproducible e.g. with
this call:
KeplerianOrbit orbit = new KeplerianOrbit(7000000, -1.1, Math.PI/6, 0, 0, Math.PI/2, PositionAngle.TRUE, FramesFactory.getEME2000(), AbsoluteDate.J2000_EPOCH, Constants.WGS84_EARTH_MU); orbit.shiftedBy(1); This calls: shiftedby() -> getMeanAnomaly() -> getEccentricAnomaly(): here beta is NaN if e < -1 As a consequence KeplerianOrbit is instantiated with the anomaly as NaN and the call: meanToEllipticEccentric() -> eMeSinE() In eMeSinE() it goes to an infinite loop because the input is NaN. Hope it helps! Alessandro On 02/16/2017 03:42 PM, Hank Grabowski wrote:
|