Skip to main content

withheld_by_rule

Function withheld_by_rule 

Source
pub fn withheld_by_rule(quantity: Quantity, reason: Reason) -> bool
Expand description

Whether quantity withheld for reason from a log with a barometer is the reading’s own rule and not a reading lost: the top speed is withheld at or above hpr_flightdata::readings::TRANSONIC_SPEED_M_S, 227.7 m/s, where the barometer’s port may read the transonic flow over the nose. The rule looks at the reading, not the truth, so the test holds the readings it lets through, as a user sees them. A burnout taken from that speed goes with it, and a log with no accelerometer gives no top acceleration.