nyx_space::cosmic

Function try_achieve_b_plane

source
pub fn try_achieve_b_plane(
    orbit: Orbit,
    target: BPlaneTarget,
) -> Result<(Vector3<f64>, BPlane), TargetingError>
Expand description

Returns the Delta V (in km/s) needed to achieve the B Plane specified by B dot R and B dot T. If no LTOF target is set, this method will fix VX, VY and VZ successively and use the minimum of those as a seed for the LTOF variation finding. If the 3x3 search is worse than any of the 2x2s, then a 2x2 will be returned. This uses the hyperdual formulation of the Jacobian and will also vary the linearize time of flight (LTOF).