Hi everyone,
I have come across an issue when trying to add a ForceModel which uses an additionalData of SpacecraftState to compute its acceleration.
More precisely, it works fine in a propagation but not in an orbit determination (with a BatchLSEstimator), because here in AbstractStateTransitionMatrixGenerator(line 270) the SpacecraftSate dsState provided to compute partial derivatives has no additionalData.
final Gradient[] ratesPartials = computeRatesPartialsAndUpdateFactor(forceModel, dsState, parameters, factor);
After investigation, it seems that NumericalGradientConverter does not keep the additionalData when creating dsStatefrom the parameter stateof the method AbstractStateTransitionMatrixGenerator.computePartials(final SpacecraftState state), which has the additionalData needed to compute the acceleration.
Is this a know issue ?
Best regards,
Lio