TLEPropagator can not be used in ephemeris mode
I tried to use the TLEPropagator in ephemeris mode, but it is not working due to the fact, that the initialstate of the underlying AbstractPropagator is never set.
For a small web application, I have made a simple change to the TLEPropagator interface (similar to the NumericalPropagator class):
public void setInitialState(final AbsoluteDate date) throws OrekitException {
resetInitialState(new SpacecraftState(propagateOrbit(date)));
}
and remove the resetInitialState method, as it was throwing an exception.
With this change the ephemeris mode works as intended.
(from redmine: issue id 85, created on 2012-03-25, closed on 2012-03-25)