pub enum Method {
StepTest(StepTestPlan),
Search(SearchPlan),
Design(DesignPlan),
}Expand description
How a stage tunes its loop: which probes it runs and what gains follow from them.
Variants§
StepTest(StepTestPlan)
Alternating step responses, measured and reported; the gains don’t change.
Search(SearchPlan)
A search for the largest gain of one term whose step responses meet a criterion, from the stage’s start gains, kept only if it flies no worse than a start that met the criterion.
Design(DesignPlan)
Gains designed from a fitted model of the loop’s axis, committed without steps.
Implementations§
Source§impl Method
impl Method
Sourcepub fn validate(&self) -> Result<(), InvalidConfig>
pub fn validate(&self) -> Result<(), InvalidConfig>
Checks the method’s own fields and probe configs (its settle is checked against the
envelope by Autotune::new).
§Errors
When the step test is invalid (StepTestPlan::validate), the search is
(SearchPlan::validate), or the design is (DesignPlan::validate).
Trait Implementations§
impl Copy for Method
impl StructuralPartialEq for Method
Auto Trait Implementations§
impl Forget for Method
impl Freeze for Method
impl Move for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnsafeUnpin for Method
impl UnwindSafe for Method
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.