Struct nyx_space::dynamics::thrustctrl::FiniteBurns [−][src]
Expand description
A controller for a set of pre-determined maneuvers.
Fields
mnvrs: Vec<Mnvr>
Maneuvers should be provided in chronological order, first maneuver first in the list
frame: Frame
The frame in which the maneuvers are defined.
Implementations
Trait Implementations
Returns a unit vector corresponding to the thrust direction in the inertial frame.
Returns a number between [0;1] corresponding to the engine throttle level. For example, 0 means coasting, i.e. no thrusting, and 1 means maximum thrusting. Read more
Prepares the controller for the next maneuver by returning the next guidance mode.
Auto Trait Implementations
impl RefUnwindSafe for FiniteBurns
impl Send for FiniteBurns
impl Sync for FiniteBurns
impl Unpin for FiniteBurns
impl UnwindSafe for FiniteBurns
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.
pub fn vzip(self) -> V