[][src]Trait nyx_space::od::MeasurementDevice

pub trait MeasurementDevice<N> where
    Self: Sized,
    N: Measurement,
    DefaultAllocator: Allocator<f64, N::StateSize> + Allocator<f64, N::StateSize, N::MeasurementSize> + Allocator<f64, N::MeasurementSize> + Allocator<f64, N::MeasurementSize, N::StateSize>, 
{ type MeasurementInput; fn measure(&self, state: &Self::MeasurementInput) -> Option<N>; }

A trait to generalize measurement devices such as a ground station

Associated Types

Loading content...

Required methods

fn measure(&self, state: &Self::MeasurementInput) -> Option<N>

Returns the measurement if the device and generate one, else returns None

Loading content...

Implementors

impl MeasurementDevice<StdMeasurement> for GroundStation[src]

type MeasurementInput = State

fn measure(&self, rx: &State) -> Option<StdMeasurement>[src]

Perform a measurement from the ground station to the receiver (rx).

Loading content...