pub struct TruthSample {
pub time_s: f64,
pub height_m: f64,
pub vertical_speed_m_s: f64,
pub axial_specific_force_m_s2: f64,
pub mach: f64,
pub dynamic_pressure_pa: f64,
pub position_enu_m: [f64; 3],
pub velocity_enu_m_s: [f64; 3],
}Expand description
The truth at one instant.
Fields§
§time_s: f64Time since launch, s.
height_m: f64The center of mass’s height above the ground (the site’s ellipsoidal height), m.
vertical_speed_m_s: f64Its rate, m/s, up positive.
axial_specific_force_m_s2: f64The specific force along the rocket’s axis, nose positive, m/s²: what an accelerometer along the axis reads, gravity’s reaction included (+9.8 m/s² standing on the pad), at the nose tip, where the simulator records the acceleration. Under a canopy the rocket is taken to hang along the vertical.
mach: f64The Mach number.
dynamic_pressure_pa: f64The dynamic pressure, Pa.
position_enu_m: [f64; 3]The center of mass in the launch frame (east, north, up), m.
velocity_enu_m_s: [f64; 3]Its velocity in the launch frame, m/s.
Trait Implementations§
Source§impl Clone for TruthSample
impl Clone for TruthSample
Source§fn clone(&self) -> TruthSample
fn clone(&self) -> TruthSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TruthSample
Source§impl Debug for TruthSample
impl Debug for TruthSample
Source§impl<'de> Deserialize<'de> for TruthSample
impl<'de> Deserialize<'de> for TruthSample
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
Source§impl PartialEq for TruthSample
impl PartialEq for TruthSample
Source§fn eq(&self, other: &TruthSample) -> bool
fn eq(&self, other: &TruthSample) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TruthSample
impl Serialize for TruthSample
impl StructuralPartialEq for TruthSample
Auto Trait Implementations§
impl Freeze for TruthSample
impl RefUnwindSafe for TruthSample
impl Send for TruthSample
impl Sync for TruthSample
impl Unpin for TruthSample
impl UnsafeUnpin for TruthSample
impl UnwindSafe for TruthSample
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