#[non_exhaustive]pub enum Reason {
Show 28 variants
TooShort,
NoClimb,
StartsOffThePad,
EndsBeforeLanding,
FasterThanFreeFall,
ImplausibleSpeed,
NoisySpeed,
NoAccelerometer,
Needs,
BadRecord,
SampledTooFast,
NoHeightTrack,
UnstatedSensor,
SampledTooSlowly,
StepTooCoarse,
Transonic,
ReceiverLag,
ReceiverDropout,
SlowerThanFreeCoast,
ShortPad,
ClockOutOfOrder,
DisturbedTop,
DisturbedPad,
AxisUnstated,
GravityUnstated,
DirectionUnstated,
OneCanopy,
ShortLeg,
}Expand description
The reason a reading was withheld.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TooShort
The track has fewer than three samples.
NoClimb
The altitude never climbs twice LIFTOFF_ALLOWANCE_M and the step above where the log
starts, or LIFTOFF_HEIGHT_M above the pad, or the pad’s allowance and a step if that is
higher; or, for landing, falls too little past its step and noise for the descent’s rate to
be measured.
StartsOffThePad
A track whose heights are above the pad only by a mapping’s or a column’s word starts more
than PAD_ZERO_M from its zero: the log didn’t start on the pad, or its heights aren’t
above the pad, such as an altitude above sea level a column mapping calls one above the
ground.
EndsBeforeLanding
The log ends before the rocket is seen to land.
FasterThanFreeFall
The altitude reaches the ground sooner than a fall from rest at apogee in vacuum could.
ImplausibleSpeed
The top speed is above IMPLAUSIBLE_SPEED_M_S.
NoisySpeed
The climb’s speed swings negative by more than ASCENT_NOISE_FRACTION of its top.
NoAccelerometer
The log has no accelerometer.
Needs
The reading needs another, which was withheld.
BadRecord
The record breaks what every reader guarantees: a primary track as long as its clock, on finite times that increase, and channels as long as their clocks. Only a record built by hand can.
SampledTooFast
The samples come more often than MIN_INTERVAL_S, faster than the bounds were checked
at.
NoHeightTrack
The log holds no altitude, pressure or GNSS track.
UnstatedSensor
The log’s only height is an altitude whose sensor it doesn’t state, such as a table’s
Altitude column read by its header: a barometer’s bounds can’t be stated for it.
SampledTooSlowly
The samples come further apart than MAX_INTERVAL_S, or than the top speed’s fit needs.
StepTooCoarse
The track’s step is coarser than MAX_STEP_M or MAX_PRESSURE_STEP_PA.
Transonic
The top speed reaches TRANSONIC_SPEED_M_S, where the barometer’s port may read the
transonic flow over the nose.
ReceiverLag
The only height is a GNSS receiver’s, whose filter lags a climb and overshoots its top.
ReceiverDropout
The only height is a GNSS receiver’s, whose fix drops out or lags at liftoff.
SlowerThanFreeCoast
The track loses no more than twice its noise and step in the COAST_CHECK_S before its
top: its clock is in another unit, such as milliseconds read as seconds, its top isn’t a
coast’s, or it isn’t a height.
ShortPad
The log’s first samples can’t rule out a rocket already more than LIFTOFF_ALLOWANCE_M
up when it starts: it starts after liftoff, as a logger that records from launch writes
its zero and then the climb, or holds too little of the pad to tell liftoff by. A track on
the logger’s own zero, or one a mapping or a header calls above the ground, still gives its
heights from that zero, with the zero’s possible error in their bounds, and withholds
liftoff unless a sample sits within the allowance of it.
ClockOutOfOrder
The height track’s clock doesn’t increase, so no time can be read off it.
DisturbedTop
The track’s top isn’t a coast’s: it falls more than twice its noise and step below a peak
in the last COAST_CHECK_S before its top, then climbs to it, or climbs into it faster
than a coast can and falls from it faster than gravity pulls a body at rest there
(SPIKE_CHECK_S). A transient after apogee
does either, such as a charge’s that lasts longer than the median takes out and stands
above the true top. Which is the apogee can’t be told, so the apogee, the top speed and
landing are withheld; liftoff is not.
DisturbedPad
The track falls more than the climb’s rise below its start before the climb, then climbs from the fall without resting again: a disturbance on the pad, such as a pressure pulse at the barometer at ignition (#1101). The pad is read from before the fall, or from the logger’s zero when too little of it comes before. The top speed is withheld; so is liftoff when no sample before the fall is on the pad, its bound otherwise reaching back over the fall; and every reading is withheld when the track has no zero and too little pad before the fall.
AxisUnstated
The log’s accelerometers don’t say which of them lies along the rocket’s axis, such as a board’s three axes, a phone’s or a table’s column read by its header: the top acceleration and a burnout from the accelerometer need the axial one.
GravityUnstated
The axial accelerometer’s readings may or may not hold gravity’s 1 g, and nothing settles which: its family doesn’t say, and neither its pad (about 1 g or 0) nor its coast to apogee (about 0 or −1 g) reads either level, or what they say disagrees.
DirectionUnstated
Which way up the axial accelerometer reads, nose up or nose down, isn’t settled, or its
trace shows no thrust. Of its three witnesses, each on the trace as written, none says or
two disagree: the pad (about 1 g nose up, about −1 g nose down), the coast to apogee
(−0.75 g or less nose up, 0.75 g or more nose down) and the thrust (its first span past
LIFTOFF_ACCELERATION_M_S2 to hold there for BURN_LEAST_S, unless a span the other
way comes first). Or, turned as they settle and gravity put back, the trace never passes
LIFTOFF_ACCELERATION_M_S2 from liftoff’s earliest time to apogee.
OneCanopy
The descent shows no drogue’s leg. Walked back from landing, its rate at the ground’s
density never passes the main’s mark, MAIN_TOLERANCE_SHARE times the rate near the
ground or MAIN_TOLERANCE_M_S more if that is more, in the DESCENT_TAIL_S before
the main’s leg, or the descent before that leg isn’t, on median, DROGUE_RATIO times
that rate. The rocket came down under one canopy, or under a drogue no faster than the
mark, which reads as one: the main’s descent is then the whole descent’s, from apogee to
landing, and there is no drogue’s.
ShortLeg
A leg of the descent loses too little height, under LEG_LEAST_M or
LEG_LEAST_SHARE of its top’s height, or lasts too little, for its rate to be read.
Implementations§
Trait Implementations§
impl Copy for Reason
Source§impl<'de> Deserialize<'de> for Reason
impl<'de> Deserialize<'de> for Reason
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Reason
Source§impl Ord for Reason
impl Ord for Reason
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for Reason
impl PartialOrd for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnsafeUnpin for Reason
impl UnwindSafe for Reason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.