pub struct SensorHealth {
pub sensor: Sensor,
pub samples: usize,
pub used: usize,
pub rejected: usize,
pub unweighed: usize,
pub resets: usize,
pub inside_gate_share: Option<f64>,
pub largest: Option<Largest>,
pub mean_nis: Option<f64>,
}Expand description
How one sensor fared.
Fields§
§sensor: SensorThe sensor.
samples: usizeIts samples.
used: usizeThose fused.
rejected: usizeThose rejected by the gate.
unweighed: usizeThose not weighed: a GNSS fix before the receiver is trusted, an accelerometer’s clipped sample or one past apogee, a launch-started log’s first two barometer samples.
resets: usizeHow many times the sensor was taken back after GATE_RESET_S of rejections.
The share of the samples tested that the gate passed; None if none was tested.
largest: Option<Largest>The largest test ratio, where it was.
mean_nis: Option<f64>The mean normalized innovation squared over the samples fused, ν²/S, S with one
sample’s own variance as the gate weighs it: about 1 when the sensor’s noise is what the
smoother takes it to be, below 1 when it takes it as noisier.
Trait Implementations§
Source§impl Clone for SensorHealth
impl Clone for SensorHealth
Source§fn clone(&self) -> SensorHealth
fn clone(&self) -> SensorHealth
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 moreSource§impl Debug for SensorHealth
impl Debug for SensorHealth
Source§impl<'de> Deserialize<'de> for SensorHealth
impl<'de> Deserialize<'de> for SensorHealth
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 JsonSchema for SensorHealth
impl JsonSchema for SensorHealth
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SensorHealth
impl PartialEq for SensorHealth
Source§fn eq(&self, other: &SensorHealth) -> bool
fn eq(&self, other: &SensorHealth) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SensorHealth
impl Serialize for SensorHealth
impl StructuralPartialEq for SensorHealth
Auto Trait Implementations§
impl Freeze for SensorHealth
impl RefUnwindSafe for SensorHealth
impl Send for SensorHealth
impl Sync for SensorHealth
impl Unpin for SensorHealth
impl UnsafeUnpin for SensorHealth
impl UnwindSafe for SensorHealth
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