Hello !
First of all, thanks a lot for this great new feature which allows the estimation of the maneuver dates, it is impressive !
I was following the tutorial and I tried to retrieve the propagator post-estimation but I have been unable to propagate from this propagator while it is possible when the maneuver date is not estimated.
It is indeed a bug, thanks for finding it!
Could you please open an issue on the forge?
What’s happening is that the maneuver’s date parameter drivers are selected in the Maneuver force models but the propagator does not have an additional state meant to compute the state transition matrix (or derivatives).
However, since the drivers are selected Orekit tries to get and store the STM when the date event is triggered.
Hence the exception.
Now I don’t know how it should be handled with:
Silently ignore the exception if the propagator is not STM-ready
@TheoN I wanted to offer you a workaround consisting in deselecting all the maneuvers’ drivers prior to propagation… but I’ve tested it and it doesn’t seem to work.
I don’t know why… but this is a problem because it means the estimated propagator is unusable as is. This means we should probably lean towards solution 1 for the fix.
Perhaps we could do some tricks with ForceModel.init()?
It seems to me that it is called by AbstractIntegratedPropagator.ConvertedMainStateEquations.init() and when called the additional states seem to have been set up and are available in the SpacecraftState. So perhaps we could look there and see if we find the STM or not, and if we can’t find it we shut down its use in the rest of the force model?
Unfortunately, there is no update for this issue.
Don’t hesitate to use the icon on the issue description on Gitlab so we can’t upgrade the priority of this issue
The issue is still opened…
Do not hesitate to use the emoji on the Gitlab repository so we can estimate this issue as important and fix it as soon as possible.