Variable Thrust Direction with ConfigurableLowThrustManeuver

Hello all,

I am attempting to implement a Low thrust maneuver where the direction of the thrust in Local Orbital Frame is dependent on the current orbital elements. I will also note, that I want to avoid directly changing the attitude of the spacecraft in order to achieve the thrust direction.

My understanding is that the ConfigurableLowThrustManeuver class requires an input instance of ThrustDirectionAndAttitudeProvider, which can be built with a LOF attitude and a variable thrust direction with the buildFromDirectionInLOF() method. As noted here: ThrustDirectionAndAttitudeProvider (OREKIT 12.1.3 API)

The above build method requires an instance of a ThrustDirectionProvider, which I have subclassed using the PythonThrustDirectionProvider in order to create my specific thrust direction mapping within the computeThrustDirection() function.

However when I run the propagation I get the following error:

Can anyone provide insight into this error or the issue with this approach, and if there is alterative approach that I should be using instead?

Thanks in Advance!

Hi @Tyler-Gaston,

Could you show us how you subclassed PythonThrustDirectionProvider or provide a minimal example reproducing the bug?
I’m not very proficient in Python but other users can help you with more insight on your code.

Cheers,
Maxime