Skip to main content

stability_issue_warnings

Function stability_issue_warnings 

Source
pub fn stability_issue_warnings(
    fallback: Option<&SupersonicFallback>,
    min_static_margin: Option<Peak>,
    max_mach: Option<Peak>,
) -> Vec<IssueWarning>
Expand description

The stability issues a flight meets (ADR-181): one whose top Mach number is max_mach, whose aerodynamics stopped the supersonic body run for fallback (hpr_aero::AeroModel::supersonic_fallback), and whose smallest static margin is min_static_margin. Issues #87, #120 and #121 when their switch stopped the run and the flight is past SUPERSONIC_SWITCH_MACH, naming the component; #172 whenever the flight has a smallest static margin. A flight with no top Mach number meets none.