Struct nyx_space::od::measurement::StdMeasurement
source · pub struct StdMeasurement {
pub dt: Epoch,
pub obs: Vector2<f64>,
/* private fields */
}
Expand description
Stores a standard measurement of range (km) and range rate (km/s)
Fields§
§dt: Epoch
§obs: Vector2<f64>
Implementations§
source§impl 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§
source§impl Clone for StdMeasurement
impl Clone for StdMeasurement
source§fn clone(&self) -> StdMeasurement
fn clone(&self) -> StdMeasurement
Returns a copy of the value. Read more
1.0.0 · 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 StdMeasurement
impl Debug for StdMeasurement
source§impl Measurement for StdMeasurement
impl Measurement for StdMeasurement
source§fn 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).
source§fn sensitivity(&self) -> Matrix2x6<f64>
fn sensitivity(&self) -> Matrix2x6<f64>
Returns the measurement sensitivity (often referred to as H tilde).
source§impl MeasurementDevice<BaseSpacecraft<GuidanceMode>, StdMeasurement> for GroundStation
impl MeasurementDevice<BaseSpacecraft<GuidanceMode>, StdMeasurement> for GroundStation
source§fn 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).
source§impl MeasurementDevice<Orbit, StdMeasurement> for GroundStation
impl MeasurementDevice<Orbit, StdMeasurement> for GroundStation
source§impl PartialEq<StdMeasurement> for StdMeasurement
impl PartialEq<StdMeasurement> for StdMeasurement
source§fn 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 ==
.source§impl Serialize for StdMeasurement
impl Serialize for StdMeasurement
source§impl 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§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere 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.