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

pub trait MeasurementDevice<MsrIn, Msr> where
    Self: Sized,
    Msr: Measurement,
    DefaultAllocator: Allocator<f64, Msr::StateSize> + 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>[src]

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

Loading content...

Implementors

impl MeasurementDevice<Orbit, StdMeasurement> for GroundStation[src]

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

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

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

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

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

Loading content...