poliastro / validation

Validation of poliastro against external software.
Apache License 2.0
11 stars 6 forks source link

Validate poliastro impulsive maneuver with Orekit ones #10

Closed jorgepiloto closed 3 years ago

jorgepiloto commented 3 years ago

This issue originates due to the one in https://github.com/poliastro/poliastro/issues/905.

Orekit provides a collection of maneuvers, among which impulsive ones are available. However, poliastro and orekit logics apply in a different way when dealing with maneuvers.

My idea is to build a orekit_maneuvers.py module holding previous impulsive maneuvers, defined by using the necessary event detectors. Those maneuvers can be then applied to custom OrekitOrbit instances introducing a new method apply_maneuver, similarly to poliastro. Although this API approach is the same that the one in poliastro, computations are done by the Orekit software and thus, validation between both is possible.

jorgepiloto commented 3 years ago

I have been thinking how to approach this issue during the last days... Since Orekit expects the deltaVs to be passed as arguments, we are forced to replicate the logic behind how maneuvers compute those particular values.

From my point of view, previous fact is not the think we are looking to test, but if the maneuvers are properly executed at apses locations. I will try to open a draft pull request and we could better discuss there :memo:

jorgepiloto commented 3 years ago

Closing this! Lambert impulsive maneuver's do not require to be tested as there is enough bibliography and resources in the original poliastro's repository :+1: