#[non_exhaustive]pub enum Flight {
RecoveryDescent {
design: String,
configuration: String,
},
WholeFlight {
design: String,
configuration: String,
mode: DragMode,
},
}Expand description
What a case flies.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
RecoveryDescent
A descent from a state the reference declares, under the devices the reference declares: the recovery comparison of M1.7a (parachutes, and the descent under them), run through the harness.
Everything about the flight comes from the reference’s own case (the site, the wind, the devices, the state at the first deployment), which is the point: the oracle’s inputs are the case’s, not hpr’s output (Loft lesson L75).
Fields
WholeFlight
A flight from the pad to the ground, in either mode of M2.1 (DragMode). In
same-drag mode hpr flies the C_D0(M) table the reference declares, through
hpr_sim::Simulation::with_drag_table, so a difference is in the equations of motion,
the environment or the motor, not in the drag. In predicted mode it flies the design’s own
aerodynamics against a reference that flew the example’s own drag.
The site, the wind, the rail, the drag table and its reference area, and the recovery devices all come from the reference’s own record of what the oracle flew (Loft lesson L75). The harness checks the rest rather than trusting it: the design must be the one the reference names, with the dry mass and reference area it recorded.