Skip to main content

MaxAcceleration

Struct MaxAcceleration 

Source
pub struct MaxAcceleration {
    pub acceleration_m_s2: f64,
    pub bound_m_s2: f64,
    pub interval_m_s2: Option<Interval>,
    pub lower_end_m_s2: Option<f64>,
    pub time_s: f64,
    pub range_m_s2: Option<f64>,
    pub is_floor: bool,
    pub clip: Option<Clip>,
    pub source: Source,
    pub provenance: Provenance,
    pub method: Method,
}
Expand description

The top acceleration in the climb, as the axial accelerometer reads it.

Fields§

§acceleration_m_s2: f64

The acceleration, m/s², along the rocket’s axis, nose up positive, gravity’s reaction in it as an accelerometer reads it: +1 g standing on the pad, the thrust less the drag over the mass in the climb. Less 9.81 m/s² it is the rocket’s own acceleration up on a vertical climb. A channel written with gravity taken out has it put back.

§bound_m_s2: f64

The bound on its error, m/s²: the part’s scale (ACCEL_SCALE_SHARE) as a share of it, its residual bias (ACCEL_BIAS_M_S2), gravity’s share a tilted rail takes from a channel zeroed on the pad (RAIL_TILT_DEG), five times the noise measured around the top, a step, and the change to the next sample either side, which a peak between them can hide. When it is clipped, the true top is no lower than the reading less the bound, and may be higher by any amount.

§interval_m_s2: Option<Interval>

Its 90% interval, m/s² (interval::TOP_ACCELERATION_SHARES); None on a floor.

§lower_end_m_s2: Option<f64>

A clipped top’s lower end, m/s² (interval::TOP_ACCELERATION_FLOOR_SHARES); None where it isn’t clipped, as on a floor whose burn the log ends in, which no set tests.

§time_s: f64

When, s on the accelerometer’s clock.

§range_m_s2: Option<f64>

The range of the part its family states, m/s², None where it doesn’t.

§is_floor: bool

Whether the top is a floor: no lower than the reading less its bound, and maybe higher by any amount. A clipped top is (clip), and so is one whose burn the accelerometer ends in, its thrust never falling through zero on the channel before apogee: that one is measured, its clip None.

§clip: Option<Clip>

Why it is clipped, where it is: at the part’s stated range, or held flat at its top below it or with no range stated; None where it isn’t.

§source: Source

The accelerometer.

§provenance: Provenance

Clipped where clip says why; otherwise measured.

§method: Method

How it was read.

Trait Implementations§

Source§

impl Clone for MaxAcceleration

Source§

fn clone(&self) -> MaxAcceleration

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for MaxAcceleration

Source§

impl Debug for MaxAcceleration

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for MaxAcceleration

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for MaxAcceleration

Source§

fn eq(&self, other: &MaxAcceleration) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for MaxAcceleration

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for MaxAcceleration

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.