Hi,
I met a problem after the measurement generation and I hope you can help me out.
I added several propagators to the generator. After generation of the measurements, when I tried to use those propagators to propagate orbit backwards, the program seems to be paused.
For example,
for (int j = 0; j < propagators.length; j++) {
satellites[j] = generator.addPropagator(propagators[j]);
}
generator.addScheduler(scheduler);
SortedSet<ObservedMeasurement<?>> measurements = generator.generate(initialDate, endDate);
Till now, the program was fine. And the propagators are propagated to endDate
. Now if I want to propapate the propagator backwards, like to its initialDate
:
propagators[0].propagate(initialDate);
The program would never end, and it does not consume any CPU. So it seems to be paused.
I tested this with only one propagator added to the generator, and there is no problem. As long as more than one propagator added, the problem occurs.
I wonder if this is a bug or I am not supposed to use it this way for some reason?
By the way, I am using these part of codes from Orekit 10.1, since 10.0 are not handling the measurement generation for multi satellites correctly.
I hope I made myself clear. Thanks a lot in advance!