pub struct PidDiagnostics<T: Float> {
pub update_count: u64,
pub saturation_count: u64,
pub saturation_ratio: T,
pub max_error: T,
pub current_integral: T,
pub current_derivative: T,
}Expand description
Diagnostic information about PID performance
Fields§
§update_count: u64Total number of updates
saturation_count: u64Number of saturations
saturation_ratio: TRatio of saturated outputs
max_error: TMaximum error observed
current_integral: TCurrent integral value
current_derivative: TCurrent derivative value
Trait Implementations§
Source§impl<T: Clone + Float> Clone for PidDiagnostics<T>
impl<T: Clone + Float> Clone for PidDiagnostics<T>
Source§fn clone(&self) -> PidDiagnostics<T>
fn clone(&self) -> PidDiagnostics<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T: Copy + Float> Copy for PidDiagnostics<T>
Auto Trait Implementations§
impl<T> Freeze for PidDiagnostics<T>where
T: Freeze,
impl<T> RefUnwindSafe for PidDiagnostics<T>where
T: RefUnwindSafe,
impl<T> Send for PidDiagnostics<T>where
T: Send,
impl<T> Sync for PidDiagnostics<T>where
T: Sync,
impl<T> Unpin for PidDiagnostics<T>where
T: Unpin,
impl<T> UnsafeUnpin for PidDiagnostics<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for PidDiagnostics<T>where
T: UnwindSafe,
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