pub struct PidBuilder<T: Float> { /* private fields */ }Implementations§
Source§impl<T: Float> PidBuilder<T>
impl<T: Float> PidBuilder<T>
pub fn new() -> Self
pub fn gains(self, kp: T, ki: T, kd: T) -> Self
pub fn output_limits(self, min: T, max: T) -> Self
pub fn term_limits(self, p_limit: T, i_limit: T, d_limit: T) -> Self
pub fn output_rate_limit(self, rate: T) -> Self
pub fn antiwindup(self, mode: AntiWindupMode, gain: T) -> Self
pub fn derivative_filter(self, mode: DerivativeMode, coeff: T) -> Self
pub fn setpoint_ramping(self, enabled: bool, rate: T) -> Self
pub fn time_limits(self, min_dt: T, max_dt: T) -> Self
pub fn build(self) -> RobustPid<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for PidBuilder<T>where
T: Freeze,
impl<T> RefUnwindSafe for PidBuilder<T>where
T: RefUnwindSafe,
impl<T> Send for PidBuilder<T>where
T: Send,
impl<T> Sync for PidBuilder<T>where
T: Sync,
impl<T> Unpin for PidBuilder<T>where
T: Unpin,
impl<T> UnsafeUnpin for PidBuilder<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for PidBuilder<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