Mihara / RasterPropMonitor

Plugin for Kerbal Space Program. This repository is out of date and is primarily of historic interest. See https://github.com/JonnyOThan/RasterPropMonitor
http://forum.kerbalspaceprogram.com/threads/57603
Other
116 stars 67 forks source link

Time to Pe invalid for hyperbolic orbits #605

Closed MOARdV closed 7 years ago

MOARdV commented 7 years ago

It's reporting INF, so one of the divisors used to compute time to Pe is being driven to zero. Check if Orbit.timeToPe is valid in a hyperbolic orbit, and simply use that if it is.