Struct nyx_space::dynamics::guidance::Mnvr [−][src]
pub struct Mnvr {
pub start: Epoch,
pub end: Epoch,
pub thrust_lvl: f64,
pub alpha_inplane: CommonPolynomial,
pub beta_outofplane: CommonPolynomial,
}Expand description
Mnvr defined a single maneuver. Direction MUST be in the VNC frame (Velocity / Normal / Cross). It may be used with a maneuver scheduler.
Fields
start: EpochStart epoch of the maneuver
end: EpochEnd epoch of the maneuver
thrust_lvl: f64Thrust level, if 1.0 use all thruster available at full power
alpha_inplane: CommonPolynomialThe interpolation polynomial for the in-plane angle
beta_outofplane: CommonPolynomialThe interpolation polynomial for the out-of-plane angle
Implementations
Creates an impulsive maneuver whose vector is the deltaV. TODO: This should use William’s algorithm
Creates a manneuver from the provided time-invariant delta-v, in km/s
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mnvr
impl UnwindSafe for Mnvr
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
The inverse inclusion map: attempts to construct self from the equivalent element of its
superset. Read more
pub fn is_in_subset(&self) -> bool
pub fn is_in_subset(&self) -> bool
Checks if self is actually part of its subset T (and can be converted to it).
pub fn to_subset_unchecked(&self) -> SS
pub fn to_subset_unchecked(&self) -> SS
Use with care! Same as self.to_subset but without any property checks. Always succeeds.
pub fn from_subset(element: &SS) -> SP
pub fn from_subset(element: &SS) -> SP
The inclusion map: converts self to the equivalent element of its superset.