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

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

A trait to generalize measurement devices such as a ground station

Required methods

fn measure(&self, input: &MsrIn) -> Option<Msr>

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

Loading content...

Implementors

impl<'a> MeasurementDevice<State, StdMeasurement> for GroundStation<'a>[src]

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

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

impl<'a> MeasurementDevice<SpacecraftState, StdMeasurement> for GroundStation<'a>[src]

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

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

Loading content...