When I use this within my custom thrustDirProvider class I get the fatal error as seen above, however when I use it within my step handler class, I don’t get an error, but the propagator seems to get stuck in an infinite loop.
I am using a numerical propagator utilizing the DormandPrince853Integrator
I am calling the OsculatingToMeanElementsConverter within the computeThrustDirection method to reproduce the above fatal error, or within the handleStep method of my custom step handler to get what seems to be an infinite loop
When establishing my propagator I set up the orbit type as equinoctial
Sorry I don’t have a simple example to provide, the code I am currently running is fairly extensive.
I am using it on the current spacecraft state at each timestep during the propagation. An example of one is here, SpacecraftState{orbit=equinoctial parameters: {a: 7083103.538568227; ex: -0.0013210532708788317; ey: -1.4081767305645267E-6; hx: -1.9037319042813614E-8; hy: -8.163414117204461E-9; lv: -2.6310032315035407E-5;}, attitude=org.orekit.attitudes.Attitude@75fc1992, mass=7.98, additional={}, additionalDot={}}
I’m afraid that that i will not be able to investigate your issue in the next few days . Thank you for the additional input, this may be key to find the error.