pub struct RecoveryConfig {
pub pitch_rad: f32,
pub thrust: f32,
pub level_band_rad: f32,
pub max_body_rate_radps: f32,
pub settle_s: f32,
pub timeout_s: f32,
}Expand description
How a ManeuverRunner levels the wings after a maneuver.
Fields§
§pitch_rad: f32The pitch held level, in rad.
thrust: f32Thrust while recovering, [0, 1].
level_band_rad: f32Bank, and pitch off pitch_rad, within which the wings count as
level, in rad.
max_body_rate_radps: f32Body rate (magnitude) under which the wings count as settled, in rad/s.
settle_s: f32How long the wings stay level and settled before the recovery ends, in s.
timeout_s: f32Longest recovery, in s: past it the route takes over, level or not.
Trait Implementations§
Source§impl Clone for RecoveryConfig
impl Clone for RecoveryConfig
impl Copy for RecoveryConfig
Source§impl Debug for RecoveryConfig
impl Debug for RecoveryConfig
Source§impl Default for RecoveryConfig
impl Default for RecoveryConfig
Source§impl PartialEq for RecoveryConfig
impl PartialEq for RecoveryConfig
impl StructuralPartialEq for RecoveryConfig
Auto Trait Implementations§
impl Freeze for RecoveryConfig
impl RefUnwindSafe for RecoveryConfig
impl Send for RecoveryConfig
impl Sync for RecoveryConfig
impl Unpin for RecoveryConfig
impl UnsafeUnpin for RecoveryConfig
impl UnwindSafe for RecoveryConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§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 moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.