Struct nyx_space::od::measurement::StdMeasurement
source · [−]Expand description
Stores a standard measurement of range (km) and range rate (km/s)
Fields
dt: Epoch
obs: Vector2<f64>
Implementations
sourceimpl StdMeasurement
impl StdMeasurement
pub fn range(&self) -> f64
pub fn range_rate(&self) -> f64
sourcepub fn noiseless(dt: Epoch, tx: Orbit, rx: Orbit, visible: bool) -> StdMeasurement
pub fn noiseless(dt: Epoch, tx: Orbit, rx: Orbit, visible: bool) -> StdMeasurement
Generate noiseless measurement
sourcepub fn new<D: Distribution<f64>>(
dt: Epoch,
tx: Orbit,
rx: Orbit,
visible: bool,
range_dist: &D,
range_rate_dist: &D
) -> StdMeasurement
pub fn new<D: Distribution<f64>>(
dt: Epoch,
tx: Orbit,
rx: Orbit,
visible: bool,
range_dist: &D,
range_rate_dist: &D
) -> StdMeasurement
Generate a new measurement with the provided noise distribution.
Trait Implementations
sourceimpl Clone for StdMeasurement
impl Clone for StdMeasurement
sourcefn clone(&self) -> StdMeasurement
fn clone(&self) -> StdMeasurement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StdMeasurement
impl Debug for StdMeasurement
sourceimpl Measurement for StdMeasurement
impl Measurement for StdMeasurement
sourcefn observation(&self) -> Vector2<f64>
fn observation(&self) -> Vector2<f64>
Returns this measurement as a vector of Range and Range Rate
Units: km, km/s
type MeasurementSize = Const<2>
type MeasurementSize = Const<2>
Defines how much data is measured. For example, if measuring range and range rate, this should be of size 2 (nalgebra::U2).
sourcefn sensitivity(&self) -> Matrix2x6<f64>
fn sensitivity(&self) -> Matrix2x6<f64>
Returns the measurement sensitivity (often referred to as H tilde).
sourceimpl MeasurementDevice<BaseSpacecraft<GuidanceMode>, StdMeasurement> for GroundStation
impl MeasurementDevice<BaseSpacecraft<GuidanceMode>, StdMeasurement> for GroundStation
sourcefn measure(&self, sc_rx: &Spacecraft) -> Option<StdMeasurement>
fn measure(&self, sc_rx: &Spacecraft) -> Option<StdMeasurement>
Perform a measurement from the ground station to the receiver (rx).
sourceimpl MeasurementDevice<Orbit, StdMeasurement> for GroundStation
impl MeasurementDevice<Orbit, StdMeasurement> for GroundStation
sourcefn measure(&self, rx: &Orbit) -> Option<StdMeasurement>
fn measure(&self, rx: &Orbit) -> Option<StdMeasurement>
Perform a measurement from the ground station to the receiver (rx).
sourceimpl PartialEq<StdMeasurement> for StdMeasurement
impl PartialEq<StdMeasurement> for StdMeasurement
sourcefn eq(&self, other: &StdMeasurement) -> bool
fn eq(&self, other: &StdMeasurement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StdMeasurement) -> bool
fn ne(&self, other: &StdMeasurement) -> bool
This method tests for !=
.
sourceimpl Serialize for StdMeasurement
impl Serialize for StdMeasurement
sourceimpl TimeTagged for StdMeasurement
impl TimeTagged for StdMeasurement
impl Copy for StdMeasurement
impl StructuralPartialEq for StdMeasurement
Auto Trait Implementations
impl RefUnwindSafe for StdMeasurement
impl Send for StdMeasurement
impl Sync for StdMeasurement
impl Unpin for StdMeasurement
impl UnwindSafe for StdMeasurement
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if self
is actually part of its subset T
(and can be converted to it).
fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts self
to the equivalent element of its superset.