pub fn fly(
root: &Path,
case: &Value,
wind: &Value,
declared_cd0: &Value,
(normal_force, tip_off): (NormalForce, bool),
) -> Result<Flown, ValidateError>Expand description
Flies, in HPR Sim, the flight of case (a case of the oracle’s report, with its rail and
site) in wind (one of the case’s winds, with the wind and what the flight carried) on
the constant drag coefficient declared_cd0 (the report’s [Mach, C_D] rows) and the
normal force normal_force, with the tip-off phase if tip_off and guided to the last
guide otherwise.
§Errors
ValidateError if the record is not the oracle’s shape, the design is not the rocket the
record flew (its dry mass, reference area, motor or the distance between its last two guides
differ past rounding), or the flight fails
or does not end at the ground.