Struct nyx_space::SpacecraftState [−][src]
A spacecraft state
Fields
orbit: Orbit
dry_mass_kg: f64
fuel_mass_kg: f64
thruster: Option<Thruster>
mode: GuidanceMode
Implementations
impl SpacecraftState
[src]
pub fn new(orbit: Orbit, dry_mass_kg: f64, fuel_mass_kg: f64) -> Self
[src]
pub fn with_thruster(
orbit: Orbit,
dry_mass_kg: f64,
fuel_mass_kg: f64,
thruster: Thruster,
init_mode: GuidanceMode
) -> Self
[src]
orbit: Orbit,
dry_mass_kg: f64,
fuel_mass_kg: f64,
thruster: Thruster,
init_mode: GuidanceMode
) -> Self
Trait Implementations
impl Add<Matrix<f64, U6, U1, <DefaultAllocator as Allocator<f64, U6, U1>>::Buffer>> for SpacecraftState
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: VectorN<f64, U6>) -> Self
[src]
Adds the provided state deviation to this orbit
impl Add<Matrix<f64, U7, U1, <DefaultAllocator as Allocator<f64, U7, U1>>::Buffer>> for SpacecraftState
[src]
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: VectorN<f64, U7>) -> Self
[src]
Adds the provided state deviation to this orbit
impl Clone for SpacecraftState
[src]
fn clone(&self) -> SpacecraftState
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SpacecraftState
[src]
impl Debug for SpacecraftState
[src]
impl Display for SpacecraftState
[src]
impl EstimateFrom<SpacecraftState> for Orbit
[src]
fn extract(from: &SpacecraftState) -> Self
[src]
fn add_dev(
to: &SpacecraftState,
dev: VectorN<f64, Self::Size>
) -> SpacecraftState
[src]
to: &SpacecraftState,
dev: VectorN<f64, Self::Size>
) -> SpacecraftState
impl EventEvaluator<SpacecraftState> for UmbraEvent
[src]
fn eval(&self, sc: &SpacecraftState) -> f64
[src]
fn epoch_precision(&self) -> Duration
[src]
Stop searching when the time has converged to less than 0.1 seconds
fn value_precision(&self) -> f64
[src]
Finds the darkest part of an eclipse within 2% of penumbra (i.e. 98% in shadow)
fn eval_crossing(&self, prev_state: &S, next_state: &S) -> bool
[src]
impl EventEvaluator<SpacecraftState> for PenumbraEvent
[src]
fn eval(&self, sc: &SpacecraftState) -> f64
[src]
fn epoch_precision(&self) -> Duration
[src]
Stop searching when the time has converged to less than 0.1 seconds
fn value_precision(&self) -> f64
[src]
Finds the slightest penumbra within 2%(i.e. 98% in visibility)
fn eval_crossing(&self, prev_state: &S, next_state: &S) -> bool
[src]
impl EventEvaluator<SpacecraftState> for Event
[src]
fn eval(&self, state: &SpacecraftState) -> f64
[src]
fn epoch_precision(&self) -> Duration
[src]
fn value_precision(&self) -> f64
[src]
fn eval_crossing(&self, prev_state: &S, next_state: &S) -> bool
[src]
impl LowerExp for SpacecraftState
[src]
impl MdHdlr<SpacecraftState> for OrbitStateOutput
[src]
fn handle(&mut self, state: &SpacecraftState)
[src]
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).
impl PartialEq<SpacecraftState> for SpacecraftState
[src]
fn eq(&self, other: &SpacecraftState) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl State for SpacecraftState
[src]
type Size = U7
Size of the state and its STM
type PropVecSize = U43
fn zeros() -> Self
[src]
fn as_vector(&self) -> Result<VectorN<f64, U43>, NyxError>
[src]
fn set(
&mut self,
epoch: Epoch,
vector: &VectorN<f64, U43>
) -> Result<(), NyxError>
[src]
&mut self,
epoch: Epoch,
vector: &VectorN<f64, U43>
) -> Result<(), NyxError>
fn stm(&self) -> Result<MatrixN<f64, U7>, NyxError>
[src]
WARNING: Currently the STM assumes that the fuel mass is constant at ALL TIMES!
fn add(self, other: VectorN<f64, Self::Size>) -> Self
[src]
fn ctor_from(
self,
delta_t_s: f64,
vector: &VectorN<f64, Self::PropVecSize>
) -> Self where
DefaultAllocator: Allocator<f64, Self::PropVecSize>,
[src]
self,
delta_t_s: f64,
vector: &VectorN<f64, Self::PropVecSize>
) -> Self where
DefaultAllocator: Allocator<f64, Self::PropVecSize>,
impl TimeTagged for SpacecraftState
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpacecraftState
impl Send for SpacecraftState
impl Sync for SpacecraftState
impl Unpin for SpacecraftState
impl UnwindSafe for SpacecraftState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> Scalar for T where
T: PartialEq<T> + Copy + Any + Debug,
[src]
T: PartialEq<T> + Copy + Any + Debug,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,