pub enum ProbeStatus {
Running(Progress),
Done(Measurement),
Aborted(ProbeAbort),
Interrupted,
}Expand description
Where a probe stands, as its host reports it (Tunable::probe).
Variants§
Running(Progress)
The probe is flying the loop.
Done(Measurement)
Measured; the loop is back with its controller.
Aborted(ProbeAbort)
The probe gave up; the loop is back with its controller.
Interrupted
The host idled the loop under test, e.g. a
CopterStabilizer angle or heading loop
on a Setpoint::Rate tick (the pilot switched to acro). The
loop is back with its controller, and the rate tick clears the idle angle loops’ I terms.
Implementations§
Source§impl ProbeStatus
impl ProbeStatus
Sourcepub fn is_running(&self) -> bool
pub fn is_running(&self) -> bool
Whether the probe still flies the loop.
Trait Implementations§
Source§impl Clone for ProbeStatus
impl Clone for ProbeStatus
impl Copy for ProbeStatus
Source§impl Debug for ProbeStatus
impl Debug for ProbeStatus
Source§impl From<IdentifyStatus> for ProbeStatus
impl From<IdentifyStatus> for ProbeStatus
Source§fn from(status: IdentifyStatus) -> Self
fn from(status: IdentifyStatus) -> Self
Converts to this type from the input type.
Source§impl From<StepStatus> for ProbeStatus
impl From<StepStatus> for ProbeStatus
Source§fn from(status: StepStatus) -> Self
fn from(status: StepStatus) -> Self
Converts to this type from the input type.
Source§impl From<WingStatus> for ProbeStatus
impl From<WingStatus> for ProbeStatus
Source§fn from(status: WingStatus) -> Self
fn from(status: WingStatus) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProbeStatus
impl PartialEq for ProbeStatus
impl StructuralPartialEq for ProbeStatus
Auto Trait Implementations§
impl Forget for ProbeStatus
impl Freeze for ProbeStatus
impl Move for ProbeStatus
impl RefUnwindSafe for ProbeStatus
impl Send for ProbeStatus
impl Sync for ProbeStatus
impl Unpin for ProbeStatus
impl UnsafeUnpin for ProbeStatus
impl UnwindSafe for ProbeStatus
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.