Skip to main content

predict_design_file

Function predict_design_file 

Source
pub fn predict_design_file(
    root: &Path,
    flight: &DesignFileFlight,
) -> Result<DesignFilePredictionRow, RealFlightError>
Expand description

Predicts one design-file flight: flies the stored simulation the repository names for it, from the design file as saved, and reads its apogee as its log’s altimeter would. The log is hashed, never parsed.

§Errors

RealFlightError if a file is missing or doesn’t read; the design holds a part HPR Sim doesn’t read; the stored simulation is missing, named twice, or lacks a condition; it was run in other than the standard atmosphere and an average wind; its configuration is left out, stages, or flies other than one motor on the bundled curve its digest names; or HPR Sim can’t fly it.