pub struct Readings {
pub sample_interval_s: Option<f64>,
pub median_window_s: Option<f64>,
pub peak_bound_m: Option<f64>,
pub pad_altitude_m: Option<f64>,
pub liftoff: Reading<Liftoff>,
pub apogee: Reading<Apogee>,
pub max_speed: Reading<MaxSpeed>,
pub max_acceleration: Reading<MaxAcceleration>,
pub landing: Reading<Landing>,
}Expand description
What was read from a flight log.
Fields§
§sample_interval_s: Option<f64>The median interval between samples, s; None for a log too short to read, or withheld
whole as Reason::BadRecord.
median_window_s: Option<f64>The running median’s span, s, whole samples of the interval: MEDIAN_WINDOW_S rounded.
peak_bound_m: Option<f64>How far below its true peak the running median can read a peak bent by gravity alone, m
(peak_bound_m).
pad_altitude_m: Option<f64>The pad: the median of the altitude before it first rises PAD_RISE_M, m above the
logger’s zero; None when every reading is withheld, Reason::NoClimb included.
liftoff: Reading<Liftoff>Liftoff.
apogee: Reading<Apogee>The highest point.
max_speed: Reading<MaxSpeed>The top vertical speed from liftoff to apogee.
max_acceleration: Reading<MaxAcceleration>The top acceleration.
landing: Reading<Landing>Landing, and the descent before it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Readings
impl<'de> Deserialize<'de> for Readings
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>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Readings
Auto Trait Implementations§
impl Freeze for Readings
impl RefUnwindSafe for Readings
impl Send for Readings
impl Sync for Readings
impl Unpin for Readings
impl UnsafeUnpin for Readings
impl UnwindSafe for Readings
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
Mutably borrows from an owned value. Read more